Delete identity mapping
/identity_mapping
Target audience: Developers
Delete identity mapping¶
Introduction¶
This endpoint deletes a specified identity mapping from a specified user
URI¶
Environment | URI |
---|---|
Stage | https://payway-api.stage.adeprimo.se/external/api/v1/identity_mapping |
Production | https://backend.worldoftulo.com/external/api/v1/identity_mapping |
Requirements¶
Identity | Scope |
---|---|
No | /external/identity_mapping/w |
Parameters¶
Field | Required | Type | Description |
---|---|---|---|
account_id | Required | String | The account ID that should be fetched and modified. Size range: ..24 Allowed values: "/^[a-f\d]{24}$/i" |
identity_key | Required | String | The key of the identity mapping that should be deleted. Size range: ..128 |
Curl Example¶
curl --request DELETE \
--url https://payway-api.stage.adeprimo.se/external/api/v1/identity_mapping \
--header 'accept: application/json' \
--header 'authorization: Bearer token' \
--header 'content-type: application/json' \
--data '{
"account_id": "AFDIADFJOADFA134",
"identity_key": "Adeprimo Integration Service",
}'
}'
Errors¶
This API uses the common error conventions of the Payway API