Skip to main content

Create/update role with given permissions

post/v1/role

Create role with given permission, if role already exists it updates roles permission with given permission.

post/v1/role

https://managedservices-prod.rteappbuilder.com/

Request

HEADER

X-API-KEYREQUIRED
TYPE: STRING

API key to be generated via app-builder console

REQUEST BODY

Create role with given permission

name
TYPE: STRING

external_id
TYPE: STRING

permissions
TYPE: ARRAY
SAMPLE REQUEST
{
"name": "admin",
"external_id": "external_id001",
"permissions": [
{
"name": "permission01"
},
{
"name": "permission002"
}
]
}

Responses

success

Loading...