cURL
curl --request POST \ --url https://api.openworklabs.com/v1/orgs/{orgId}/roles \ --header 'Content-Type: application/json' \ --data ' { "roleName": "<string>", "permission": {} } '
{ "success": true }
Creates a custom organization role with a named permission map.
Den TypeID with 'org_' prefix and a 26-character base32 suffix.
30
^org_.*
2 - 64
Show child attributes
Organization role created successfully.