Consent types
Delete consent type
Delete a consent type for a project.
x-api-key<token>
In: header
Path Parameters
organizationIdstring
Format
uuidprojectIdstring
Format
uuidconsentTypeIdstring
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://api.concord.tech/privacy-v1/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-types/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"createdAt": [
null
],
"updatedAt": [
null
],
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"organization": "452c1a86-a0af-475b-b03f-724878b0f387",
"project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",
"category": "disclosure",
"subcategory": [
null
],
"label": "string",
"version": 0,
"dateCreated": "2019-08-24T14:15:22Z",
"dateUpdated": "2019-08-24T14:15:22Z",
"name": "string",
"description": "string",
"document": "string",
"url": "http://example.com",
"readOnly": false,
"validStates": [
"implied"
],
"status": "active",
"consentDuration": "string",
"required": false,
"requireReacceptVersion": 0
}{
"statusCode": 404,
"error": "Not Found",
"message": "string"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Forbidden"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "Forbidden"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Not Found"
}{
"statusCode": 422,
"error": "Unprocessable Entity",
"message": "string"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Internal Server Error"
}