Update an existing user
PUT/api/v1/mssp/:mssp-id/user/:username
x-public: "true"
Update an existing user
Request
Path Parameters
username stringrequired
username of the user
mssp-id stringrequired
the id of the MSSP of interest
- application/json; charset=UTF-8
Body
required
username stringrequired
Possible values: non-empty
and <= 128 characters
User name of the user.
firstName stringrequired
Possible values: non-empty
and <= 63 characters
First name of the user.
lastName stringrequired
Possible values: non-empty
and <= 63 characters
Last name of the user.
Responses
- 200
- 400
- 401
- 404
- 429
User updated successful
- 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...