Update a custom role
curl --request PATCH \
--url https://api.arg.ai/api/organizations/{orgId}/roles/{roleId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/organizations/{orgId}/roles/{roleId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/organizations/{orgId}/roles/{roleId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Organizations
Update a custom role
PATCH
/
api
/
organizations
/
{orgId}
/
roles
/
{roleId}
Update a custom role
curl --request PATCH \
--url https://api.arg.ai/api/organizations/{orgId}/roles/{roleId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/organizations/{orgId}/roles/{roleId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/organizations/{orgId}/roles/{roleId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}