PUT content/{contentId}/status

Update the status of a content item.

Example

PUT /api/v1/content/b730f9d1-ae9c-400a-b9cd-6530897d2a31/status HTTP/1.1
Authorization: Bearer ...
Content-Type: application/json

{
  "status": "suspended"
}
----------------------------------------
HTTP/1.1 204 No Content

Security

Authentication is required, and access is restricted to admins only.

URL Parameters

NameDescriptionValue
contentIdthe ID of the content as a GUID with dashesstring

Request Body

NameDescriptionValue
statusthe new status
one of:
  • active
  • suspended
  • deleted_admin

Response

Successful responses are code 204. Error responses are standard.

Response Body

NONE