Permissions

To enable other users to track the statuses of routes and orders, add them to the interface and configure their permissions.

  1. Adding a company manager
  2. Configuring permissions
  3. Deleting a user

Adding a company manager

Access is provided with Yandex ID.

Note. To log in using a corporate or any other email address, create an account with Yandex ID at https://passport.yandex.com/auth/preregister.
Routing workspace
  1. In the menu on the left, go to Settings → Managers.
  2. At the bottom of the page, specify the new user's email address.
  3. To add multiple users at once, specify their email addresses separated by a comma.
  4. Click Add.

API
Note. When adding a user with the API, assign them the manager, dispatcher, or admin role.

Send a request to the users resource. In the request, specify the user's username and role:

Request

cURL

curl -H "Content-Type: application/json" -H "Authorization: Auth your-OAuth-token" -X POST -d @<File_path_in_UTF-8_encoding> https://courier.yandex.ru/api/v1/companies/<your-company-id>/users
Copied to clipboard

File

{"login":"alice.the.girl", "role":"manager"}
Copied to clipboard
Result:
{
  "id": 197162,
  "login": "alice.the.girl",
  "role": "manager"
}

Configuring permissions

After adding an employee:

Routing workspace
  1. Open the user card.

  2. Choose a role: Manager, Dispatcher, or Administrator.

  3. When you assign the Manager or Dispatcher role to a user, specify which depots and companies they should have access to. To do this, select the required options in the Depots block. The employee will get access to routes that start from them.

API

A role is assigned to a user when you add them, and access to depots and companies for a Manager and Dispatcher is set in the interface.

Once a user has registered and been added, they will have access to the routing workspace interface at https://yandex.com/courier.

Deleting a user

Routing workspace
  1. In the menu on the left, go to Settings → Managers.
  2. Open the user card.
  3. At the bottom of the page, click Delete user.
API

Send a request to the users resource. In the URI, specify the user ID:

Request

cURL

curl -H "Content-Type: application/json" -H "Authorization: Auth your-OAuth-token" -X DELETE https://courier.yandex.ru/api/v1/companies/<your-company-id>/users/<user-id>
Copied to clipboard
Result:
{
  "id": 197215,
  "login": "alice.the.girl",
  "role": "manager"
}

Contact support