DELETE
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
consent-types
/
{consentTypeId}
curl --request DELETE \
  --url https://api.concord.tech/privacy-v1/organizations/{organizationId}/projects/{projectId}/consent-types/{consentTypeId} \
  --header 'x-api-key: <api-key>'
{
  "createdAt": [
    "<any>"
  ],
  "updatedAt": [
    "<any>"
  ],
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "project": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "category": "disclosure",
  "subcategory": [
    "<any>"
  ],
  "label": "<string>",
  "version": 123,
  "dateCreated": "2023-11-07T05:31:56Z",
  "dateUpdated": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "description": "<string>",
  "document": "<string>",
  "url": "<string>",
  "readOnly": false,
  "validStates": [
    "implied"
  ],
  "status": "active",
  "consentDuration": "<string>",
  "required": false,
  "requireReacceptVersion": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
string
required
projectId
string
required

Response

200
application/json
Default Response
id
string
required
project
required
version
integer
required
name
string
required
Maximum length: 100
description
string
required
Maximum length: 2000
createdAt
updatedAt
organization
category
Available options:
disclosure,
communication,
privacy_setting,
custom
subcategory
label
string
Maximum length: 128
dateCreated
string
dateUpdated
string
document
string
Maximum length: 5000000
url
string
readOnly
boolean
default:false
validStates
enum<string>[]
Available options:
implied,
viewed,
accepted,
declined
status
enum<string>
Available options:
active,
archived,
obsolete,
test
required
boolean
default:false
requireReacceptVersion
integer