Add or update consent

Use this method to add or update consent details in the specified group. Note- Replace {your_connecttenant_apidomain } in the URL with your hostname to try this API with your environment. See Know your endpoint page.

Path Params
string
required

Unique ID of group

Body Params

A consumer and the desired consent value

string
enum
required

A channel of communication

Allowed:
string
required

Address for communications sent on this channel.

boolean
required
string
required

Free form text value indicating an arbitrary comment about this record

string

ISO8601 formatted date and time

metadata
object

Optional fields to store extra data along with the consent change request

Responses
204

Consent added or changed

404

Invalid or unknown group ID.

409

Invalid channel type for requested group

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!