Permissions
To enable other users to track route and order statuses, add them to the Yandex.Courier interface and configure their permissions.
Add a company manager
Access is provided to the account with Yandex ID.
- Via the Logistics Coordinator Workplace interface
-
- In the menu on the left, select.
- At the bottom of the page, specify a new user's email address.
- To add multiple users at a time, specify their email addresses separated by commas.
Click Add.
- In the API
- Note. When adding a user via the API, assign them the
manager
,dispatcher
, oradmin
role.
Configure permissions
After adding an employee:
- Via the Logistics Coordinator Workplace interface
-
Open the user card.
Choose a role: Manager, Dispatcher, or Administrator.
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.
- In the API
-
The role is assigned to a user when you add them, and the access to depots and companies for a Manager or Dispatcher is set in the interface.
Once the registration is complete and the employee is added, they will have access to the workplace interface at: https://yandex.com/courier.
Deleting a user
- Via the Logistics Coordinator Workplace interface
-
- In the menu on the left, select.
- Open the user card.
- At the bottom of the page, click Delete user.
- In the 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 clipboardResult:{ "id": 197215, "login": "alice.the.girl", "role": "manager" }