Skip to main content
Aria Knowledge Central

delete_acct_data_m Sample Call and Response

This example anonymizes an individual account's data to bring it into compliance with the General Data Protection Regulation. It is based on the plsql_m_r73.yml definition file.

This example includes every required field for one way of identifying the account; it does not attempt to show every alternative identifier the method accepts.

Sample call

{
  "rest_call": "delete_acct_data_m",
  "output_format": "json",
  "client_no": 100,
  "auth_key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
  "acct_no": 3004512
}

The rest_call and output_format fields are envelope fields added by the REST layer rather than fields documented on the method itself. The method accepts three alternative ways to identify the account — acct_no, client_acct_id, and userid — and requires exactly one of them. This example supplies the Aria-assigned numeric acct_no rather than the client-defined client_acct_id or the end user's userid. Because this action irreversibly anonymizes the account's data, you should confirm the individual's consent before calling this method, and you should resolve any open charges, credits, or unbilled usage on the account beforehand.

Sample response

{
  "error_code": 0,
  "error_msg": "OK"
}

An error_code of zero and an error_msg of "OK" indicate that Aria anonymized the account's data successfully. This method returns no fields beyond these two error indicators.

TOP
  • Was this article helpful?