PUT | /keycloak/users/update | update a group in keycloak |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SessionId | form | string | Yes | The id of the REST session |
Id | form | string | Yes | The id of the user to update |
Username | form | string | No | The username of the user |
form | string | No | The email must be unique | |
FirstName | form | string | No | The first name of the user |
LastName | form | string | No | The last name of the user |
UserId | form | Guid | No | The user id in the logins database the user is associated with |
CompanyId | form | Guid | No | The company id in the logins database the user is associated with |
Groups | form | string | No | The comma-delimeted list of Groups the user is associated with |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SessionId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /keycloak/users/update HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
sessionId: String,
id: String,
username: String,
email: String,
firstName: String,
lastName: String,
userId: 00000000000000000000000000000000,
companyId: 00000000000000000000000000000000,
groups: String
}