(DELETE) /security/accounts/{ID}/roles/{ID}
Removes the Veeam Backup Enterprise Manager security role from the account having the specified ID.
|
The DELETE method is used to remove a specific security role from the list of roles assigned to the specific account. You cannot remove the last role from the account. |
Request
To remove a security role from the account having the specified ID, you need to send the DELETE HTTP request to the URL of the /security/accounts/{ID}/roles/{ID} resource.
HTTP Request
Request Header
The request contains the following headers:
Header | Required | Description |
X-RestSvcSessionId | True | The request requires authorization. In the header, the client must send a session ID copied from the server reply to the request creating a new logon session. To learn more, see Authentication and Security. |
Request Body
None.
Query Parameters
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns response code 204 No Content.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/xml. |
Response Body
None.
Example
The example below removes the File Restore Operator role from the account having ID f7d81d38-a457-4ee7-9294-a9123f8e4e99: