Consent types
Update consent type
Update a consent type for a project.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuidprojectId*string
Format
uuidconsentTypeId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent-types/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "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": "privacy_policy", "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}