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