curl --request POST \ --url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/content-types/{id}/discard
Content Types
Discard Draft Changes
Discard unpublished changes and revert to the last published version
POST
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
content-types
/
{id}
/
discard
Discard Draft Changes
Copy
curl --request POST \ --url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/content-types/{id}/discard
Resets a draft or modified content type back to its last published version. This is useful when you want to abandon changes and return to a known good state.