Skip to main content
PATCH
/
api
/
v1
/
contents
/
bulk
/
update-status
Bulk Update Status
curl --request PATCH \
  --url https://api.example.com/api/v1/contents/bulk/update-status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content_ids": [
    "<string>"
  ],
  "new_status": "<string>",
  "status_message": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

X-Workspace-Id
string | null

The workspace ID

Body

application/json
content_ids
string[]
required

List of content IDs

new_status
string
required

New status to apply

status_message
string | null

Optional status message

Response

Successful Response