If you have your own system and would like change accounts status without our dashboard, we have just created an API allowing you to do just that. This API is for server to server communication, in case you have your own CRM system or something similar to manage your customer base.
- You can disable / enable or delete an account.
- Parameters (All are mandatory):
Parameter Name (Case Sensitive) |
Value |
Description |
Default Value |
user |
Admin’s username |
The admin’s username that matches the api_id |
|
api_id |
Admin’s Api Id |
The admin’s api_id that matches the username |
Generated from edit profile |
account_username |
Advertiser’s username |
The advertiser's username that need the status change |
|
new_status |
enabled disabled deleted |
The new account's status |
|
- Return Code
- If the API succeeds then it will return with status code 200 with the following message:
- “Account status changed successfully " or "Account deleted successfully "
- If an error occurs or there is an invalid parameter then it returns with status code 400 or 500 with an error message in the response.
Example:
https://mcpn.us/limeApi?ev=changeAccountStatus&user=adminuser&api_id=A1H444h07FhB65dn&account_username=jsmith@gmail.com&new_status=disabled
Comments
0 comments
Article is closed for comments.