Get User by username
GET/api/v1/mssp/:mssp-id/user/:username
x-public: "true"
Get User by username
Request
Path Parameters
username stringrequired
username of the user
mssp-id stringrequired
the id of the MSSP of interest
Responses
- 200
- 400
- 401
- 404
- 429
User details for given username
- application/json
- Schema
- Example (from schema)
Schema
username string
firstName string
lastName string
lastModifiedBy string
lastModifiedAt int64
{
"username": "string",
"firstName": "string",
"lastName": "string",
"lastModifiedBy": "string",
"lastModifiedAt": 0
}
Bad request. One of the required arguments is missing or fails a constraint
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Authentication error
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
User not found
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
username string
firstName string
lastName string
lastModifiedBy string
lastModifiedAt int64
{
"username": "string",
"firstName": "string",
"lastName": "string",
"lastModifiedBy": "string",
"lastModifiedAt": 0
}
Loading...