Deleting accounts

Delete the account.

Procedure

  1. In a REST client platform, add the authentication details of the tenant from where you want to delete the account.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "mcsp_or_isv_token"
    }
    
  2. Make a DELETE request at the URL of the project.

    URL Syntax: <domain>/apis/v1/rest/projects/:project/accounts/:account_uid

    In this URL request, :project is the name of the project or the project UID from where you want to delete an account and :account_uid is the UID of the account you want to delete.

    Method: DELETE

    If the request is successful, you receive the response code for success.
    {
    output: {               
                   "message": "Account deleted successfully." 
            }        
    }