Skip to main content

The function takes the organization ID and person ID and removes the specified GDPR consent, or all consents.

Path Parameters
  • person_id string required

    The person ID

    Example: 903c1ff9-f2cc-435c-b242-9d8a690fcf0a
Query Parameters
  • consent_levels string[]

    Possible values: [none, necessary, analytics, marketing, retargeting, tracking]

    The names of the consent levels to remove from the person

  • deleteAll boolean

    Whether to delete all GDPR consents for this person

Header Parameters
  • SlashID-OrgID string required

    The organization ID

    Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
Responses

No content

DELETE /persons/:person_id/consent/gdpr
https://api.slashid.com

Authorization

type: apiKeyname: SlashID-API-Keyin: header

Request

ApiKeyAuth
person_id — path required
SlashID-OrgID — header required
consent_levels — query
deleteAll — query
curl -L -X DELETE 'https://api.slashid.com/persons/:person_id/consent/gdpr' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'