Discard a term’s working copy
DELETE
Throws the working copy away; the committed file stays as it is. No lock needed. Only the change set’s author works on its working copies (403 for anyone else who holds content.read.draft; for anyone else another author’s change set is 404, exactly like a missing one). Needs the content.edit permission.
bearerheader
AuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
changeSetId*stringThe change set’s ID (a UUID). One that names no change set, malformed or not, is 404.
Format
uuidtermId*stringMatch
^[a-z0-9]+(?:-[a-z0-9]+)*$Length
length <= 100X-Ccms-User?stringDemo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).
Discarded.
curl -X DELETE 'http://localhost:3000/change-sets/497f6eca-6276-4993-bfeb-53cbbbba6f08/terms/charger/working-copy'Example Response
Empty