Docs
Update Content
PUT /content/{contentId}
PUT
/content/{contentId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Replaces all editable fields on an existing content item. The files array is a full replacement — any file IDs omitted will be detached.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| contentId | Guid | Required | The ID of the content item to update. Replace `{{contentId}}` in the URL. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | New display name. |
| description | string | Optional | Updated description. |
| activityId | Guid? | Optional | Updated activity association. Pass `null` to remove. |
| files | Guid[] | Optional | Full replacement list of attached file IDs. Pass `[]` to clear all. |
Response
Returns 200 OK with an empty body on success.