younifyd
Menu

Create Users Credentials Move After By User Id Credential Id New Previous Credential Id

Create users credentials move after by user id credential id new previous credential id

POST/admin/realms/{realm}/users/{user-id}/credentials/{credentialId}/moveAfter/{newPreviousCredentialId}

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Create Users Credentials Move After By User Id Credential Id New Previous Credential Id action (under Users).
  3. Fill in the fields below, then reference the result from later steps as {{createUsersCredentialsMoveAfterByUserIdCredentialIdNewPreviousCredentialId.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

user-idstringrequired
credentialIdstringrequired

The credential to move

newPreviousCredentialIdstringrequired

The credential that will be the previous element in the list. If set to null, the moved credential will be the first element in the list.

Response

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

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

Create Users Credentials Move After By User Id Credential Id New Previous Credential Id — Keycloak — Documentation