« Back to Documentation Overviewdelete_account_custom
Section: Accounts
Version: 1.5.0
Remove custom from account and all contacts. Field CUSTOM_ID can be obtained from get_account_customs or add_account_custom. Warning: This action is NOT reversible!
Parameters
|
---|
string | API_KEY |
object | |
Return Value
|
---|
integer | deleted | 1 |
Example Request JSON
[
"API_KEY",
{
"custom": "CUSTOM_ID"
}
]
Example Response JSON
{
"deleted": 1
}
Example Error Response JSON
{
"code": -1,
"message": "Missing Custom"
}
Method-specific Errors
|
---|
Missing Custom |
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |