Use this API to list available administrative roles and edit role membership.
HTTP method and URL | GET /csvn/api/1/role?format=json |
Authentication / Authorization | User administrators (ROLE_ADMIN_USERS) and the super user (ROLE_ADMIN) |
Response | The GET request returns a list of roles. Example: |
HTTP method and URL | PUT /csvn/api/1/role/2?format=json Example: |
Parameters | The role ID, as well as user ID are required – the role ID in the URL
path, and the user ID in the request body as a parameter.
|
Authentication / Authorization | User administrators (ROLE_ADMIN_USERS) and the super user (ROLE_ADMIN) |