List of accounts

Returns a list of accounts that the current user represents.

  1. Request syntax
  2. Response format

Request syntax

https://api-audience.yandex.ru/v1/management/accounts
 ? 

Response format


{
    "accounts" : [ {
        "user_login" :  < string > ,
        "perm" :  < delegate_type > ,
        "created_at" :  < date > 
    }, ... ]
}
Parameters Description
accounts The list of accounts.
accounts
user_login

The username of the user who granted the current user full access to segments.

perm The access level.

Possible values:

  • view – Read-only access to the account.
  • edit – Full access to the account.
created_at

The date when permission was granted, in the format YYYY-MM-DD'T'hh:mm:ssZ.

Parameters Description
accounts The list of accounts.
accounts
user_login

The username of the user who granted the current user full access to segments.

perm The access level.

Possible values:

  • view – Read-only access to the account.
  • edit – Full access to the account.
created_at

The date when permission was granted, in the format YYYY-MM-DD'T'hh:mm:ssZ.