Menu
Create Client Scopes
Create client scopes
POST
/admin/realms/{realm}/client-scopesUse it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Create Client Scopes action (under Client Scopes).
- Fill in the fields below, then reference the result from later steps as
{{createClientScopes.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "string",
"name": "string",
"description": "string",
"protocol": "string",
"attributes": {},
"protocolMappers": [
{
"id": "string",
"name": "string",
"protocol": "string",
"protocolMapper": "string",
"consentRequired": false,
"consentText": "string",
"config": {}
}
]
}
Response
Returns 201 with a any. Read it in later steps with {{createClientScopes.response.data.<field>}}.
Need more? See the Keycloak guide for connection setup and behaviour shared by every action.
Was this page helpful?