007-DeleteChildProfile
Function
Terminate Child Status
Endpoint
- /v1/loyalty/profile/child
HTTP Method
- DELETE
Request Headers
- Authorization: Bearer {token}
- X-App-Key: {appKey}
Request Payload
{
"childId": "CHILD00000001"
}
Request Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| childId | No | string | Child profile id |
Response Payload
{
"status": 1,
"errorCode": 0,
"message": "success",
"childId": "CHILD00000001",
"masterSsoId": "ssoid"
}
Response Parameters
| Field | Required | Type | Remark | Sample |
|---|---|---|---|---|
| status | Yes | number | status code of the api call, 1=success, 0=fail | |
| message | Yes | string | detail message of the api call | |
| errorCode | No | number |
Response Headers
Error Codes
| Code | Description |
|---|---|
| 1 | Internal Error |
| 3 | Missing Parameter |
| 4 | Invalid Input |
| 4150 | Child not exists |