Update Purpose Preference

Use this API to edit a specific Purpose Preference. The Purpose Preference will be updated with the details provided in the request body.

Path Params
uuid
required

The unique identifier of the Purpose Preference to update.

Body Params
uuid
required

Unique identifier for the Custom Preference

string
required
length between 1 and 255

The display name of the Custom Preference

string
length ≀ 1000

Detailed description explaining the purpose and usage of this Custom Preference

string
enum
required

Defines how options can be selected in this Custom Preference

Allowed:
string
enum
required

Specifies how the preference options should be displayed in the UI

Allowed:
date-time

Timestamp when the Custom Preference was created

date-time

Timestamp when the Custom Preference was last updated

int64
β‰₯ 0

Total number of available options for this Custom Preference

boolean
Defaults to false

Indicates whether a response is mandatory for this Custom Preference

int64
β‰₯ 0

Number of languages this Custom Preference has been translated into

string

The default language code for this Custom Preference (BCP 47 format)

boolean
Defaults to false

Indicates if this Custom Preference is currently disabled

Options
array of objects

List of available options for this Custom Preference

Options
Languages
array of objects

List of language configurations for this Custom Preference

Languages
Organizations
array of uuids

List of Organization IDs that have access to this Custom Preference

Organizations
int64
β‰₯ 0

Count of active purposes that reference this Custom Preference

Responses

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Language
Credentials
OAuth2
Missing 1 required scope
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*