younifyd
Menu

Create Clients Authz Resource Server Scope By Client Uuid

Create clients authz resource server scope by client uuid

POST/admin/realms/{realm}/clients/{client-uuid}/authz/resource-server/scope

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Create Clients Authz Resource Server Scope By Client Uuid action (under Keycloak Admin REST API).
  3. Fill in the fields below, then reference the result from later steps as {{createClientsAuthzResourceServerScopeByClientUuid.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

client-uuidstringrequired

id of client (not client-id!)

Request body

Enter the body as JSON in the step's Body field.

idstring
namestring
iconUristring
policiesarray<object>
typeany
descriptionany
resourcesarray<object>
displayNamestring
json
{
  "id": "string",
  "name": "string",
  "iconUri": "string",
  "policies": [
    {
      "type": null,
      "description": null
    }
  ],
  "resources": [
    {}
  ],
  "displayName": "string"
}

Response

Returns 200 with a any. Read it in later steps with {{createClientsAuthzResourceServerScopeByClientUuid.response.data.<field>}}.

Need more? See the Keycloak guide for connection setup and behaviour shared by every action.

Create Clients Authz Resource Server Scope By Client Uuid — Keycloak — Documentation