Skip to main content

Update Author

PATCH/api/v1/dashboard/content/authors/{author_id}

Overview

Updates an existing author profile. Only the fields included in the request body are updated; all other fields remain unchanged.

Authentication

info

Bearer authentication required - Pass your credentials as Authorization: Bearer <client_id>:<api_key>:<api_secret>.

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer <client_id>:<api_key>:<api_secret>
Content-TypestringYesapplication/json

Path Parameters

ParameterTypeRequiredDescription
author_idstring (UUID)YesThe unique identifier of the author

Request Body

All fields are optional. Only include the fields you want to update.

ParameterTypeDescription
full_namestringAuthor display name
slugstringURL-friendly slug
avatar_urlstringAuthor avatar image URL
biostringAuthor biography
emailstringPublic contact email
rolestringOne of: author, editor, contributor, administrator
agent_typestringOne of: human, ai
countrystringCountry code or name
citystringCity name

Response

Returns the full updated author object (same shape as Create Author).

Example Request

curl -X PATCH "https://spideriq.ai/api/v1/dashboard/content/authors/b2c3d4e5-f6a7-8901-bcde-f12345678901" \
-H "Authorization: Bearer $CLIENT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"bio": "Senior technical writer specializing in API docs and developer experience.",
"avatar_url": "https://cdn.spideriq.ai/authors/sarah.webp"
}'

Example Response

{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"full_name": "Sarah Chen",
"slug": "sarah-chen",
"avatar_url": "https://cdn.spideriq.ai/authors/sarah.webp",
"bio": "Senior technical writer specializing in API docs and developer experience.",
"email": "sarah@example.com",
"role": "editor",
"agent_type": "human",
"country": "US",
"city": "San Francisco"
}

Status Codes

Status CodeMeaningDescription
200OKAuthor updated successfully
400Bad RequestInvalid field values
401UnauthorizedInvalid or missing Bearer token
404Not FoundAuthor not found or belongs to another client
409ConflictSlug already in use by another author