Get User

GET {{URL}}/v1/users/{{UserUsername}}

You can get information to determine if a user account has been created for a specific username and to find out the role assigned to the user account.

If successful, the request returns HTTP status code 200 OK .

If not successful, the response may contain one of the following HTTP status codes:

HTTP Status Code Reason
401 Unauthorized The Bearer token sent with the request is not valid. Verify that you are using a valid Bearer token and try again.
404 Not Found A user account with the username submitted in the request was not found.
500 Unknown reason

If there are other errors in the response, refer to the following sources for more information: Error Codes and HTTP Status Codes .

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | | | Authorization | string | | |

RESPONSES

status: OK

{"users":[{"ROLES":"ROLE_ADMIN | ROLE_USER","username":"username"}],"meta":{"api_status":"stable","version":"v2.45.1"}}