Menu
Update Organizations By Org Id
Update organizations by org id
PUT
/admin/realms/{realm}/organizations/{org-id}Use it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Update Organizations By Org Id action (under Organizations).
- Fill in the fields below, then reference the result from later steps as
{{updateOrganizationsByOrgId.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "string",
"name": "string",
"alias": "string",
"enabled": false,
"description": "string",
"redirectUrl": "string",
"attributes": {},
"domains": [
{
"name": "string",
"verified": false
}
],
"members": [
{
"id": "string",
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"emailVerified": false,
"attributes": {},
"userProfileMetadata": {
"attributes": [
{
"name": "string",
"displayName": "string",
"required": false,
"readOnly": false,
"annotations": {},
"validators": {},
"group": "string",
"multivalued": false,
"defaultValue": "string"
}
],
"groups": [
{
"name": "string",
"displayHeader": "string",
"displayDescription": "string",
"annotations": {}
}
]
},
"enabled": false,
"self": "string",
"origin": "string",
"createdTimestamp": 0
}
],
"identityProviders": [
{
"alias": "string",
"displayName": "string",
"internalId": "string",
"providerId": "string",
"enabled": false,
"updateProfileFirstLoginMode": "string",
"trustEmail": false,
"storeToken": false,
"addReadTokenRoleOnCreate": false,
"authenticateByDefault": false,
"linkOnly": false,
"hideOnLogin": false
}
]
}
Response
Returns 204 with a any. Read it in later steps with {{updateOrganizationsByOrgId.response.data.<field>}}.
Need more? See the Keycloak guide for connection setup and behaviour shared by every action.
Was this page helpful?