younifyd
Menu

Create Clients Authz Resource Server Resource By Client Uuid

Create clients authz resource server resource by client uuid

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

Use it in a workflow

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

Request

Path parameters

realmstringrequired

realm name (not id!)

client-uuidstringrequired

id of client (not client-id!)

Query parameters

_idstring
deepboolean
exactNameboolean
firstinteger (int32)
matchingUriboolean
maxinteger (int32)
namestring
ownerstring
scopestring
typestring
uristring

Request body

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

_idstring
namestring
urisarray<string>
typestring
scopesarray<object>
idstring
namestring
iconUristring
policiesarray<object>2 fields
resourcesarray<object>
displayNamestring
icon_uristring
ownerobject
ownerManagedAccessboolean
displayNamestring
attributesobject
uristring
scopesUmaarray<object>
idstring
namestring
iconUristring
policiesarray<object>2 fields
resourcesarray<object>
displayNamestring
json
{
  "_id": "string",
  "name": "string",
  "uris": [
    "string"
  ],
  "type": "string",
  "scopes": [
    {
      "id": "string",
      "name": "string",
      "iconUri": "string",
      "policies": [
        {
          "type": null,
          "description": null
        }
      ],
      "resources": [
        {}
      ],
      "displayName": "string"
    }
  ],
  "icon_uri": "string",
  "owner": {},
  "ownerManagedAccess": false,
  "displayName": "string",
  "attributes": {},
  "uri": "string",
  "scopesUma": [
    {
      "id": "string",
      "name": "string",
      "iconUri": "string",
      "policies": [
        {
          "type": null,
          "description": null
        }
      ],
      "resources": [
        {}
      ],
      "displayName": "string"
    }
  ]
}

Response

Returns 201 with an object. Read it in later steps with {{createClientsAuthzResourceServerResourceByClientUuid.response.data.<field>}}.

_idstring
namestring
urisarray<string>
typestring
scopesarray<object>
idstring
namestring
iconUristring
policiesarray<object>2 fields
resourcesarray<object>
displayNamestring
icon_uristring
ownerobject
ownerManagedAccessboolean
displayNamestring
attributesobject
uristring
scopesUmaarray<object>
idstring
namestring
iconUristring
policiesarray<object>2 fields
resourcesarray<object>
displayNamestring
json
{
  "_id": "string",
  "name": "string",
  "uris": [
    "string"
  ],
  "type": "string",
  "scopes": [
    {
      "id": "string",
      "name": "string",
      "iconUri": "string",
      "policies": [
        {
          "type": null,
          "description": null
        }
      ],
      "resources": [
        {}
      ],
      "displayName": "string"
    }
  ],
  "icon_uri": "string",
  "owner": {},
  "ownerManagedAccess": false,
  "displayName": "string",
  "attributes": {},
  "uri": "string",
  "scopesUma": [
    {
      "id": "string",
      "name": "string",
      "iconUri": "string",
      "policies": [
        {
          "type": null,
          "description": null
        }
      ],
      "resources": [
        {}
      ],
      "displayName": "string"
    }
  ]
}

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