Create a User
POST/v1/users
Create a User
Responses​
- 200
- 400
- 401
Successfully created a User
- application/json
- Schema
- Example (from schema)
Schema
data
object
id string
Example:
user_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
createdAt date-time
deletedAt date-time
object string
Example:
user
{
"data": {
"id": "user_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"createdAt": "2024-07-29T15:51:28.071Z",
"deletedAt": "2024-07-29T15:51:28.071Z"
},
"object": "user"
}
Error validating inputs
- application/json
- Schema
- Example (from schema)
Schema
error
object
code string
Example:
bad_request
title string
Example:
Bad request
message string
Example:
One or more of the inputs were invalid
reasons string[]
{
"error": {
"code": "bad_request",
"title": "Bad request",
"message": "One or more of the inputs were invalid",
"reasons": [
"pageSize must be greater than or equal to 0"
]
}
}
Unauthorized
Loading...