Consent Types
Update consent type
Update a consent type for a project.
PATCH
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
consent-types
/
{consentTypeId}
Authorizations
x-api-key
string
headerrequiredPath Parameters
organizationId
string
requiredprojectId
string
requiredconsentTypeId
string
requiredBody
application/json
name
string
Required string length:
5 - 100
description
string
Maximum length:
2000
document
string
Maximum length:
5000000
url
string
validStates
enum<string>[]
Available options:
implied
, viewed
, accepted
, declined
consentDuration
string
status
enum<string>
Available options:
active
, test
, archived
required
boolean
requireReaccept
boolean
Response
200 - application/json
id
string
requiredproject
required
version
integer
requiredname
string
requiredMaximum length:
100
description
string
requiredMaximum 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: falsevalidStates
enum<string>[]
Available options:
implied
, viewed
, accepted
, declined
status
enum<string>
Available options:
active
, archived
, obsolete
, test
consentDuration
string
required
boolean
default: falserequireReacceptVersion
integer