List of permissions

Returns information about permissions for managing a segment.

  1. Request syntax
  2. Response format

Request syntax

segmentId – The ID of the segment to show the list of permissions for.

https://api-audience.yandex.ru/v1/management/segment/{segmentId}/grants
 ? 

Response format


{
    "grants" : [ {
        "user_login" :  < string > ,
        "created_at" :  < date > ,
        "comment" :  < string > 
    }, ... ]
}
Parameters Description
grants The list of permissions with the specified parameters.
grants
user_login

The username of a user who is allowed to manage the segment.

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
grants The list of permissions with the specified parameters.
grants
user_login

The username of a user who is allowed to manage the segment.

created_at

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

comment

Any comment. Maximum 255 characters.