curl --request PUT \
--url https://api.egp.scale.com/v4/account-groups/general-role-restrictions/{role} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"restriction_type": "user_group",
"restriction": {
"group_ids": [
"<string>"
]
}
}'
"<any>"
Create or update a restriction for an account group general role in your organization. Only available for organizations that have role restrictions enabled and only performable by organization admins.
curl --request PUT \
--url https://api.egp.scale.com/v4/account-groups/general-role-restrictions/{role} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"restriction_type": "user_group",
"restriction": {
"group_ids": [
"<string>"
]
}
}'
"<any>"
admin
Successful Response
The response is of type any
.