younifyd
Menu

Update Client Templates By Client Scope Id

Update client templates by client scope id

PUT/admin/realms/{realm}/client-templates/{client-scope-id}

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Update Client Templates By Client Scope Id action (under Client Scopes).
  3. Fill in the fields below, then reference the result from later steps as {{updateClientTemplatesByClientScopeId.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

client-scope-idstringrequired

Request body

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

idstring
namestring
descriptionstring
protocolstring
attributesobject
protocolMappersarray<object>
idstring
namestring
protocolstring
protocolMapperstring
consentRequiredboolean
consentTextstring
configobject
json
{
  "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 204 with a any. Read it in later steps with {{updateClientTemplatesByClientScopeId.response.data.<field>}}.

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