Storyden
Accounts

Account Moderation Note Create

Create an internal moderation note for an account. Notes are immutable and always include the author and timestamp for auditing.

POST
/accounts/{account_id}/moderation-notes

Create an internal moderation note for an account. Notes are immutable and always include the author and timestamp for auditing.

Authorization

cookiestoryden-session<token>

Path Parameters

account_id*string

Account ID.

Formatxid

Request Body

application/json
  1. body
content*ModerationNoteContent
Length1 <= length <= 2000

Response Body

OK

application/json
  1. response
id*Identifier

A unique identifier for this resource.

Formatxid
created_at*string
Formatdate-time
author?

A minimal reference to an account.

content*ModerationNoteContent
Length1 <= length <= 2000
Example Request
curl -X POST 'https://example.com/api/accounts/string/moderation-notes' \  -H 'Content-Type: application/json' \  -d '{  "content": "string"}'
Example Response
{  "id": "string",  "created_at": "2019-08-24T14:15:22Z",  "author": {    "id": "string",    "joined": "2019-08-24T14:15:22Z",    "suspended": "2019-08-24T14:15:22Z",    "handle": "string",    "name": "string",    "signature": "string",    "roles": [      {        "badge": true,        "default": true,        "id": "string",        "name": "string",        "colour": "string",        "meta": {}      }    ]  },  "content": "string"}