POST
/
privacy
/
consents
curl --request POST \
  --url https://your_a2_service/privacy/consents \
  --header 'Content-Type: application/json' \
  --data '{
  "consent_channel": "web_login",
  "consent_date": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "is_agreed": true,
  "policy_version": "1.0.0",
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "consent_channel": "web_login",
  "consent_date": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "is_agreed": true,
  "policy_version": "1.0.0",
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json

Schema for updating privacy consent.

Response

200
application/json

Successful Response

Schema for privacy consent.