Delete a profile of a shop
- Path
/partners/domains/profiles- Auth
- Partner token · partner server only
# $SIGNED_PAYLOAD: the request claims as a JWT signed with your private key, see https://releva.ai/documentation/reference/partners/overview/#authenticationcurl --request DELETE \ --url 'https://releva.ai/api/v0/partners/domains/profiles?email=maria@example.com' \ --header 'content-type: application/json' \ --header "x-rlv-partner-token: $RELEVA_PARTNER_TOKEN" \ --data "{\"payload\": \"$SIGNED_PAYLOAD\"}"Deletes the profile matching the query identifiers, together with the profiles linked to it. The body still carries
the signed payload with shop. Answers 202 also when nothing matches.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
DEMO-PARTNER-CUSTOMER-1001Example
maria@example.comRequest Bodyrequired
Section titled “Request Bodyrequired”object
The request fields as JWT claims, signed with your RSA private key (RS512 recommended; RS256/384 and PS256/384/512
are also accepted) with a short expiry (expiresIn: '1h'). The operation’s x-signed-claims schema lists the
claims.
Example generated
{ "payload": "example"}Responses
Section titled “Responses”Accepted for asynchronous processing.
object
Example
{}Unknown query parameter, partner token or shop lookup error.
object
Human-readable error. Several validation errors are joined with a space.
Example
{ "message": "The object '' contains forbidden keys: 'userId'."}The payload could not be verified (missing, not a JWT, signed with another key, or expired), or another unexpected error.
object
Human-readable error. Several validation errors are joined with a space.
Example
{ "message": "An internal error occurred."}