curl --request PATCH \
--url http://api/v2/orgs/{orgUuid}/roles/{roleUuid} \
--header 'Content-Type: application/json' \
--data '
{
"scopes": {
"remove": [
"<string>"
],
"add": [
"<string>"
]
},
"description": "<string>",
"name": "<string>"
}
'{
"results": {
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"ownerType": "user",
"organizationUuid": "<string>",
"description": "<string>",
"name": "<string>",
"roleUuid": "<string>"
},
"status": "ok"
}Update role in organization
curl --request PATCH \
--url http://api/v2/orgs/{orgUuid}/roles/{roleUuid} \
--header 'Content-Type: application/json' \
--data '
{
"scopes": {
"remove": [
"<string>"
],
"add": [
"<string>"
]
},
"description": "<string>",
"name": "<string>"
}
'{
"results": {
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"ownerType": "user",
"organizationUuid": "<string>",
"description": "<string>",
"name": "<string>",
"roleUuid": "<string>"
},
"status": "ok"
}Was this page helpful?