Queries the ID of an Employee Identity and Access Management (EIAM) account based on the username.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/{instanceId}/{applicationId}/users/_/actions/getUserIdByUsername
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Authorization | string | Yes | The authentication information. Format: Bearer ${access_token}. Example: Bearer ATxxxx. | Bearer xxxx |
instanceId | string | Yes | The instance ID. | idaas_ue2jvisn35ea5lmthk267xxxxx |
applicationId | string | Yes | The application ID. | app_mkv7rgt4d7i4u7zqtzev2mxxxx |
body | object | No | The request body. | |
username | string | Yes | The username of the account. | username_001 |
Response parameters
Examples
Sample success responses
JSON
format
{
"userId": "user_d6sbsuumeta4h66ec3il7yxxxx"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-24 | The internal configuration of the API is changed, but the call is not affected | View Change Details |