contacts

Delete Contact Variable

Changed on

Delete a single variable from a contact or its account.

Requires the contacts:write scope on the API key.

delete/v1/contacts/{contact_id}/variables/{key}

Request

Path parameters

contact_idstring uuid required

ID of the contact.

keystring required

ID of the key.

Query parameters

scope'contact' | 'account' required

Whether to delete a contact or account variable.

Response

Successful Response

contact_variablesobject required

Custom variables stored on the contact for this workspace.

account_variablesobject required

Custom variables stored on the contact's account for this workspace. Also manageable through the Account variables endpoints.

Changes

    • breaking

      removed the enum value company from the query request parameter scope

    • breaking

      removed the required property from the response with the status

    • info

      added the new enum value account to the query request parameter scope

    • info

      added the required property to the response with the status