user

Delete a user with the “advertiser” or “site owner” type.

Request format

https://adfox.yandex.com/api/v1
  ? object=account
  & action=delete
  & actionObject=user
  & actionObjectID=<integer>

actionObjectID*

ID of the object to delete.

Read also:

Response format

<response>
  <status>
    <code>{integer}</code>
  </status>
</response>

Response parameters

code

Request processing status. If the value is 0, the request was completed successfully. For the key, see Error handling.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=account&action=delete&actionObject=user&actionObjectID=357

Response:

<response>
  <status>
    <code>0</code>
  </status>
</response>

Other actions with the object

See more actions with the advertiser and webmaster objects:

ID of the object to delete.

Read also:

Required parameter.