curl --request PATCH \
--url https://api.openworklabs.com/v1/roles/{roleId} \
--header 'Content-Type: application/json' \
--data '
{
"roleName": "<string>",
"permission": {}
}
'{
"success": true
}Updates a custom organization role and propagates role name changes to members and pending invitations.
curl --request PATCH \
--url https://api.openworklabs.com/v1/roles/{roleId} \
--header 'Content-Type: application/json' \
--data '
{
"roleName": "<string>",
"permission": {}
}
'{
"success": true
}Den TypeID with 'orl_' prefix and a 26-character base32 suffix.
30^orl_.*Organization role updated successfully.
Was this page helpful?