Retrieves information about a specific Keycloak user.
Endpoint
POST /user/lookup
Request structure
{
"id": "string"
}
|
Parameter |
Type |
Description |
|---|---|---|
| id | String | The name of the Keycloak user. |
Response structure
{
"id": {
"id": 0
},
"idpId": "string"
}
|
Parameter |
Type |
Description |
|---|---|---|
| id | String | The name of the Keycloak user. |
| idpId | String | The ID of the identity provider. |
Return codes
|
Status code |
HTTP name |
Description |
|---|---|---|
| 200 | OK | The request was executed successfully. |
| 401 | Unauthorized | Access was denied because the credentials are not valid. |
| 405 | Method Not Allowed | The specified HTTP method is not allowed for user data. Resend using POST. |