List of delegates

Returns a list of delegates who were granted access to the current user's account.

  1. Request syntax
  2. Response format

Request syntax

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

Response format


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

The username of a user to grant access to the current user's account.

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.

comment

Any comment. Maximum 255 characters.

Parameters Description
delegates The list of delegates.
delegates
user_login

The username of a user to grant access to the current user's account.

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.

comment

Any comment. Maximum 255 characters.