API Queries - Delete Account
The delete_account function removes a parking service account from your Monetization account. Additional parameters are required for this function.
Additional Parameters
- account_id - The ID of the parking service account to delete. A list of parking service accounts and their IDs can be retrieved using the List Accounts API function. (Required)
Note: Make sure to URL encode all values.
Example query and response:
In this example, we will delete the parking service account with the ID 123 (account_id=123).
Example query:
https://www.above.com/api.php?username=user&password=pass&api_key=key&mode=delete_account&account_id=123
Response:
<results> <result account_id="123" status="Deleted" /> </results>
Error Responses:
Possible error responses for this function are:
- 416 - Account id xx could not be found
- General errors, such as 200 - Internal Error or 300 - Username or password invalid.