delete
https://{host}/v2/userGroup2//leave
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Make sure that you have appropriate access control configured. For more information, see access group documentation.
Example request
curl --location --request DELETE 'https://eu.api.capillarytech.com/v2/userGroup2/3962910/leave?source=INSTORE&identifierName=mobile&identifierValue=918095467895' \
--header 'Authorization: Basic bWFkaHVfcmltYTowZjAwNmZlNGM4ZjFhNmRjMmI2ZDI1N2NkNzI3MjU2YQ==' \
--header 'Cookie: _cfuvid=vzCvOnzGrFLOd.qyWq3C1wR4U_d0NN8lePwtil_RTVU-1774957797145-0.0.1.1-604800000'Path parameters
| Path Parameter | Data type | Description |
|---|---|---|
| groupId | Long | The ID of the group. |
Query parameters
| Query parameters | Data type | Mandatory | Description |
|---|---|---|---|
| source | String | required | Source in which the customer identifier is registered. |
| accountId | String | not required | Unique account ID for sources with multiple accounts. Not applicable for the INSTORE source. |
| identifierName | String | required | Identifier type used to identify the customer. The supported identifiers are mobile, email, externalId, cardnumber, and cardExternalId. |
| identifierValue | String | required | Value of the identifierName passed. For example, identifierName=cardExternalId&identifierValue=cardUUID123 |
Example response
{
"warnings": [],
"errors": [],
"success": true
}Response parameters
| Parameter | Description |
|---|---|
| warnings | This is an array containing any warning messages generated during the processing of the request. |
| errors | This is an array containing any error messages that were generated if the request failed for some reason. |
| success | This is a boolean value indicating whether the request was successful. |
