API Guide







Delete Child Account

This API allows you to delete a child account by ID. Data is returned in the following formats: XML, JSON, CSV and Serialized.

Required headers: X-API-KEY
Optional headers: ACCEPT (json, xml, csv, serialized)
Method: DELETE

Endpoint URL:

https://api.250ok.com/api/1.0/account/childaccount

Sample Output:

{
    "status": "success"
}

Parameters

Parameter Description Acceptable Values Required
id The unique identifier of the child account. Integer Y

Status Responses

Status Description
success 'status' => 'success' indicates that the update was successful.
failed 'status' => 'failed' indicates that the update failed.

Error Responses

Description Code Cause
Invalid child account ID. 404 The unique identifier of the child account is invalid
This child account does not exist. 404 We couldn't find an account with the child account ID provided
You don't have access to this child account. 403 The child account is not owned by the parent account provided in the API key