Users
Assign model role to user
Changed onpost/api/v1/users/{id}/model-roles
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/users/{id}/model-roles
- AuthHTTP bearer
Path parameters
idstring uuid required
User ID
Example:550e8400-e29b-41d4-a716-446655440000
Request body
Example request
{
"connectionId": "550e8400-e29b-41d4-a716-446655440000",
"modelId": "550e8400-e29b-41d4-a716-446655440000",
"roleName": "VIEWER"
}Response
Role assigned successfully
Example response
{
"roleName": "VIEWER"
}Changes
- info
added
subschema #1subschema #2to the request bodyanyOflist
- info