Role
Manage user roles, permissions, DMS access levels, activation, and CRUD operations with the VARIO Cloud REST API.
User roles.
an identifier
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Is the role active?
trueLabel.
Description.
Access level for reading.
access level for writing
access level for deleting
system presetting
Identifier of the app that manages this role. App roles can only be changed by support or system.
Resource with given ID was not found
GET /cmn/users/roles/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"label": "text",
"description": "text",
"permissions": [],
"dmsAccessLevelRead": 1,
"dmsAccessLevelWrite": 1,
"dmsAccessLevelDelete": 1,
"systemPresetting": true,
"appIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}an identifier
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Is the role active?
trueLabel.
Description.
Access level for reading.
access level for writing
access level for deleting
system presetting
Identifier of the app that manages this role. App roles can only be changed by support or system.
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Is the role active?
trueLabel.
Description.
Access level for reading.
access level for writing
access level for deleting
system presetting
Identifier of the app that manages this role. App roles can only be changed by support or system.
Resource was not found
Resource was not valid to process
PUT /cmn/users/roles/{id} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 165
{
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"permissions": [],
"dmsAccessLevelRead": 1,
"dmsAccessLevelWrite": 1,
"dmsAccessLevelDelete": 1
}{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"label": "text",
"description": "text",
"permissions": [],
"dmsAccessLevelRead": 1,
"dmsAccessLevelWrite": 1,
"dmsAccessLevelDelete": 1,
"systemPresetting": true,
"appIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}an identifier
successful operation
message context
message
Resource was not found
unable to delete Resource, due to constraints, existing references or internal state
DELETE /cmn/users/roles/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"context": "text",
"messageValue": "text"
}identifier
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Is the role active?
trueLabel.
Description.
Access level for reading.
access level for writing
access level for deleting
system presetting
Identifier of the app that manages this role. App roles can only be changed by support or system.
Resource was not found
Resource was not valid to process
PUT /cmn/users/roles/{id}/deactivate HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"label": "text",
"description": "text",
"permissions": [],
"dmsAccessLevelRead": 1,
"dmsAccessLevelWrite": 1,
"dmsAccessLevelDelete": 1,
"systemPresetting": true,
"appIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}identifier
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Is the role active?
trueLabel.
Description.
Access level for reading.
access level for writing
access level for deleting
system presetting
Identifier of the app that manages this role. App roles can only be changed by support or system.
Resource was not found
Resource was not valid to process
PUT /cmn/users/roles/{id}/activate HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"label": "text",
"description": "text",
"permissions": [],
"dmsAccessLevelRead": 1,
"dmsAccessLevelWrite": 1,
"dmsAccessLevelDelete": 1,
"systemPresetting": true,
"appIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}Version Identifier for this Object (for PUT)
Unique identifier of the Object
Is the role active?
trueLabel.
Description.
Access level for reading.
access level for writing
access level for deleting
system presetting
Identifier of the app that manages this role. App roles can only be changed by support or system.
successful operation
Version Identifier for this Object (for PUT)
Unique identifier of the Object
Is the role active?
trueLabel.
Description.
Access level for reading.
access level for writing
access level for deleting
system presetting
Identifier of the app that manages this role. App roles can only be changed by support or system.
Resource was not valid to process
POST /cmn/users/roles HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 165
{
"version": "text",
"info": {},
"id": "text",
"label": "text",
"description": "text",
"permissions": [],
"dmsAccessLevelRead": 1,
"dmsAccessLevelWrite": 1,
"dmsAccessLevelDelete": 1
}{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"label": "text",
"description": "text",
"permissions": [],
"dmsAccessLevelRead": 1,
"dmsAccessLevelWrite": 1,
"dmsAccessLevelDelete": 1,
"systemPresetting": true,
"appIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}successful operation
the operation
the resource to authorize
the operation/verb to authorize
description of permission
Is this a permission that is added to the admin group automatically?
GET /cmn/users/roles/permissions HTTP/1.1
Host: api.example.com
Accept: */*
successful operation
[]Last updated
Was this helpful?