Skip to main content
POST
Discard unpublished changes

Authorizations

Authorization
string
header
required

An admin application key: Authorization: Api-Key <token> (or legacy x-api-key). Only tenant owners and admins can create one. Standard keys are refused with 403 on workspace management and tenant configuration routes.

Path Parameters

orgId
string
required

The organization (tenant) id. Must equal the tenant of the admin key.

listId
string
required

The custom list id.

Body

application/json
expected_revision
integer
required

working_set_revision from GET /{listId}/pending-changes. A stale value is 409.

Required range: x >= 0

Response

Success

{ data: CustomList }

data
object
required