curl --request POST \
--url https://api.wapikit.com/api/rbac/roles \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"permissions": [
"Get:OrganizationMember"
]
}'
{
"role": {
"uniqueId": "<string>",
"name": "<string>",
"description": "<string>",
"permissions": [
"Get:OrganizationMember"
]
}
}
create a new organization role
curl --request POST \
--url https://api.wapikit.com/api/rbac/roles \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"permissions": [
"Get:OrganizationMember"
]
}'
{
"role": {
"uniqueId": "<string>",
"name": "<string>",
"description": "<string>",
"permissions": [
"Get:OrganizationMember"
]
}
}
new organization role info
The body is of type object
.
role object
The response is of type object
.
Was this page helpful?