Get a list of domain administrator proxies
This request is used for getting a list of domain administrator proxies.
Request syntax
The request should be sent over the HTTPS protocol using the GET method.
GET /api2/admin/deputy/list?
domain=<имя домена>
Host: pddimp.yandex.ru
PddToken: <ПДД-токен>
Headers:
Parameters:
Parameter | Type | Value |
---|---|---|
Mandatory | ||
domain | String | Name of the domain. |
Parameter | Type | Value |
---|---|---|
Mandatory | ||
domain | String | Name of the domain. |
Request example
GET /api2/admin/deputy/list?domain=domain.com HTTP/1.1
Host: pddimp.yandex.ru
PddToken: 123456789ABCDEF0000000000000000000000000000000000000
cURL
curl -H 'PddToken: 123456789ABCDEF0000000000000000000000000000000000000' 'https://pddimp.yandex.ru/api2/admin/deputy/list?domain=domain.com'
Response structure
Name | Type of value | Description |
---|---|---|
domain | String | Name of the domain. |
success | String | Status of request execution. Possible values:
|
error | String | Error code. Included in the response if the request resulted in an error. Possible values:
|
deputies | Array | List of usernames of administrator proxies. |
Keys for the deputies array | ||
login | String | Username of the proxy administrator. |
Name | Type of value | Description |
---|---|---|
domain | String | Name of the domain. |
success | String | Status of request execution. Possible values:
|
error | String | Error code. Included in the response if the request resulted in an error. Possible values:
|
deputies | Array | List of usernames of administrator proxies. |
Keys for the deputies array | ||
login | String | Username of the proxy administrator. |