LiveRecoverVYG Developer Docs
CDP REST APIAPI Reference

Unlink Profile Alias

Remove an external-id alias from a profile.

DELETE /cdp/profiles/{id}/aliases/{aliasId} removes an external-id alias from a profile. Idempotent — unlinking an alias that is already gone still succeeds.

Every write is bound to your brand's shop scope. See Tenant Isolation & Scope.

Query parameters

ParameterTypeRequiredDefaultDescription
profileIdstringYesPath parameter ({id}) — the profile to unlink the alias from. (Not a query parameter.)
aliasIdstringYesPath parameter ({aliasId}) — the external id to unlink.

Response

The 200 response body:

FieldTypeDescription
profileIdstring
aliasIdstring
status'unlinked'
scopestringYour brand's resolved shop domain.

Errors

All errors share the standard envelope { "error": string, "error_description": string }.

StatusCodeWhen
400invalid_propertyThe aliasId is empty or contains a forbidden character.
401unauthorizedMissing or invalid API credential.
403forbiddenNo connected Shopify integration resolves a scope for the brand.
404not_foundNo such profile in your brand scope (missing or out-of-scope).
405method_not_allowedThe request used a method other than DELETE.
500internal_errorAn unexpected error prevented the unlink.

On this page