Skip to main content
PUT
/
authors
/
update
Update author
curl --request PUT \
  --url https://api.octaviatech.app/cms/authors/update \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "id": "{{objectId}}",
  "name": {
    "en": "John Carter (updated)",
    "es": "Juan Carter (actualizado)"
  },
  "role": "Senior Editor",
  "order": 2
}'
{
  "success": true,
  "statusCode": 201,
  "message": "Author updated",
  "data": {
    "id": "{{objectId}}"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
id
string
required
Example:

"{{objectId}}"

name
object
slug
string
bio
object
avatar
string<uri>
role
string
socials
object
email
string<email>
isActive
boolean
order
integer
Required range: x >= 0

Response

Updated

The response is of type any.