Menu
Create Clients Roles By Client Uuid
Create clients roles by client uuid
POST
/admin/realms/{realm}/clients/{client-uuid}/rolesUse it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Create Clients Roles By Client Uuid action (under Roles).
- Fill in the fields below, then reference the result from later steps as
{{createClientsRolesByClientUuid.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "string",
"name": "string",
"description": "string",
"scopeParamRequired": false,
"composite": false,
"composites": {
"realm": [
"string"
],
"client": {},
"application": {}
},
"clientRole": false,
"containerId": "string",
"attributes": {}
}
Response
Returns 201 with a any. Read it in later steps with {{createClientsRolesByClientUuid.response.data.<field>}}.
Need more? See the Keycloak guide for connection setup and behaviour shared by every action.
Was this page helpful?