PUT
/
authors
/
{id}
Update author details
curl --request PUT \
  --url https://dev.moderationapi.com/api/v1/authors/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "profile_picture": "<string>",
  "external_link": "<string>",
  "name": "<string>",
  "email": "jsmith@example.com",
  "metadata": {
    "email_verified": true,
    "phone_verified": true,
    "identity_verified": true
  },
  "manual_trust_level": 1.5
}'
{
  "id": "<string>",
  "external_id": "<string>",
  "profile_picture": "<string>",
  "external_link": "<string>",
  "name": "<string>",
  "email": "jsmith@example.com",
  "first_seen": "<string>",
  "last_seen": "<string>",
  "last_incident": "<string>",
  "status": "enabled",
  "trust_level": {
    "level": 123,
    "manual": true
  },
  "block": {
    "until": "<string>",
    "reason": "<string>"
  },
  "risk_evaluation": {
    "risk_level": 50
  },
  "metrics": {
    "total_content": 123,
    "flagged_content": 123,
    "average_sentiment": 123
  },
  "metadata": {
    "email_verified": true,
    "phone_verified": true,
    "identity_verified": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Either external ID or the ID assigned by moderation API.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.