Working with Clients
The Veeam Recovery Orchestrator REST API uses the OAuth 2.0 authorization protocol. The protocol allows various client applications to authenticate themselves in the Orchestrator REST API using client credentials. This type of credentials helps applications work with the REST API simultaneously and avoid interference from each other.
To establish an identity for every application, a user creates client accounts. Clients inherit the user permissions in the Orchestrator REST API.
To work with client accounts, the Orchestrator REST API uses the following procedures:
- Creating clients.
- Requesting client authorization.
- Getting a list of all created clients.
- Deleting clients.
Important |
If you lose a client secret, you will have to create a new client account. The client whose client secret was lost become useless and can be deleted by the user. |
Note |
Clients cannot create new client accounts. |
To learn how to create clients, see Example Requests and Responses. Alternatively, you can use the Swagger UI.
Requesting Client Authorization
To learn how to obtain an access and refresh token under a client account, see Example Requests and Responses. Alternatively, you can use the Swagger UI.
Getting List of Created Clients
Note |
A client can get only its own client ID. |
To learn how to get client accounts, see Example Requests and Responses. Alternatively, you can use the Swagger UI.
Note |
A user can delete all related client accounts. A client can delete only his own client account. |
To learn how to delete clients, see Example Requests and Responses. Alternatively, you can use the Swagger UI.