PHP (Extension) / Anypoint Platform APIs / Get roles by rolegroup Id
Back to Collection Items
<?php
include("chilkat_9_5_0.php");
$http->put_AuthToken('{{token}}');$success = $http->QuickGetSb('https://domain.com/accounts/api/organizations/{{organization_id}}/rolegroups/{{rolegroup_Id}}/roles',$sbResponseBody);
?>
Curl Command
curl -X GET
-H "Authorization: Bearer {{token}}"
https://domain.com/accounts/api/organizations/{{organization_id}}/rolegroups/{{rolegroup_Id}}/roles
Postman Collection Item JSON
{
"name": "Get roles by rolegroup Id",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/accounts/api/organizations/{{organization_id}}/rolegroups/{{rolegroup_Id}}/roles",
"host": [
"{{url}}"
],
"path": [
"accounts",
"api",
"organizations",
"{{organization_id}}",
"rolegroups",
"{{rolegroup_Id}}",
"roles"
]
}
},
"response": [
]
}