Role Groups
Add role to a group.
ROLES: INSTANCE_ADMIN USER: true SERVICE ACCOUNT: true
POST
/
api
/
v1
/
role-groups
/
{roleGroupId}
/
roleAdd
Add role to a group.
curl --request POST \
--url https://api.revoengine.com/api/v1/role-groups/{roleGroupId}/roleAdd \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({key: '<string>'})
};
fetch('https://api.revoengine.com/api/v1/role-groups/{roleGroupId}/roleAdd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/role-groups/{roleGroupId}/roleAdd"
payload = { "key": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Last modified on September 5, 2026
⌘I
Add role to a group.
curl --request POST \
--url https://api.revoengine.com/api/v1/role-groups/{roleGroupId}/roleAdd \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({key: '<string>'})
};
fetch('https://api.revoengine.com/api/v1/role-groups/{roleGroupId}/roleAdd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/role-groups/{roleGroupId}/roleAdd"
payload = { "key": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
