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}}"
  }
}
Updating an author lets you refresh or localize their profile information without affecting their associated articles.
Only the fields you include in the request will be updated — all others remain unchanged.
The only required field is id, which identifies the author to modify.
You can use this to update multilingual fields such as name or bio, or adjust metadata like isPrivate, isActive, and slug.

Rules

  • ✅ Only the provided fields will be updated
  • id is required to identify the author
  • ✅ Multilingual fields must follow the standard multilingual format
  • ✅ You can safely update fields like bio, email, or slug
  • ❌ Do not assign the same slug to multiple authors
  • ❌ Deactivating an author (isActive: false) will remove them from new article assignments

Validation & Behavior

  • Updating an author does not affect already published articles
  • Use isActive: false to hide an author from public listings while preserving their data
  • Multilingual updates merge with existing data — you can add new locales without overwriting existing ones
  • All updates are logged with timestamps for audit and tracking

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