curl --request PUT \
--url https://apix.us.amity.co/api/v2/roles \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--header 'X-API-Key: <api-key>' \
--data '{
"publicIds": [
"<string>"
],
"permissions": [
"<string>"
]
}'
This response does not have an example.
Add permissions
curl --request PUT \
--url https://apix.us.amity.co/api/v2/roles \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--header 'X-API-Key: <api-key>' \
--data '{
"publicIds": [
"<string>"
],
"permissions": [
"<string>"
]
}'
This response does not have an example.
Permission information to be added
The body is of type object
.
OK