cURL
curl --request DELETE \ --url https://api.concord.tech/privacy-v1/organizations/{organizationId}/projects/{projectId}/consent-types/{consentTypeId} \ --header 'x-api-key: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "project": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "version": 123, "name": "<string>", "description": "<string>", "createdAt": [ "<unknown>" ], "updatedAt": [ "<unknown>" ], "organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "category": "disclosure", "subcategory": [ "<unknown>" ], "label": "<string>", "dateCreated": "2023-11-07T05:31:56Z", "dateUpdated": "2023-11-07T05:31:56Z", "document": "<string>", "url": "<string>", "readOnly": false, "validStates": [ "implied" ], "status": "active", "consentDuration": "<string>", "required": false, "requireReacceptVersion": 123 }
Delete a consent type for a project.
Default Response
100
2000
disclosure
communication
privacy_setting
custom
128
5000000
implied
viewed
accepted
declined
active
archived
obsolete
test