Create a new user
POST/api/v1/mssp/:mssp-id/user
x-public: "true"
Create a new user under a specific MSSP account
Request
Path Parameters
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
- 201
- 400
- 401
- 409
- 429
User created 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
]
}
}
Conflicting username 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...