Delete Account

Endpoint

https://line.cammsoft.com/v1/application/accounts/delete.api

Info

This endpoint deletes an account.

Accounts must not have any lines in order to be deleted.

Warning

This resource is only accessible to authorized applications.

Repeated authentication failures will result in the banning of the offending IP address.

GET

Input Header Parameters
application-keyRequired
Input Query String Parameters
accountIdRequiredThe ID of the account you are deleting.

On Success
Output JSON Parameters
{}Object {}ROOT
deletedBooleanConfirmation of account deletion.
accountObject {}Record of the account that was deleted.
applicationIdStringApplication ID
accountIdStringAccount ID
stampCreatedNumberDateStamp of record creation.
enabledBooleanAccount is enabled.

On Failed
Output JSON Parameters
{}Object {}Root parameter type.
errorObject {}
codeStringError short code string.
messageStringGreater description of error.

Codes: METHOD_NOT_ALLOWED, ACCOUNT_NOT_FOUND, EXISTING_LINES, BAD_REQUEST, INTERNAL_ERROR, ACCESS_DENIED, BANNED