Skip to main content
PUT
Replace audiences and categories

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Body

application/json
audiences
string[]
required
Maximum array length: 100
Required string length: 1 - 200
categories
string[]
required
Maximum array length: 100
Required string length: 1 - 200

Response

Audiences and categories after the change

data
object
required