Find User by Id
GET/users/:userId
Returns a single user created in your UAPI account by a userId.
Request
Path Parameters
userId stringrequired
You can pass the identifier that gets returned from the create user endpoint here or use the username
you specified in the body of the create user endpoint
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
userId string
fullName string
username string
{
"userId": "64415fdb9b807dd7e931eef0",
"fullName": "Embedded User",
"username": "madHatter"
}
{
"userId": "64415fdb9b807dd7e931eef0",
"fullName": "Embedded User",
"username": "madHatter"
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...