Delete a user
DELETE/v1/users/:username
Permanently delete a user and all of their data. THIS CANNOT BE UNDONE
Request
Path Parameters
Possible values: <= 255 characters
user within the organization to delete
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response
- application/json
- Schema
- Example (from schema)
Schema
{
"username": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The error message
Bad Request
The error code
BAD_REQUEST
issues
object[]
An array of issues that were responsible for the error
{
"code": "BAD_REQUEST",
"message": "Bad Request",
"issues": []
}
Invalid Credentials
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The error message
Invalid Credentials
The error code
UNAUTHORIZED
issues
object[]
An array of issues that were responsible for the error
{
"code": "UNAUTHORIZED",
"message": "Invalid Credentials",
"issues": []
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The error message
Unauthorized
The error code
FORBIDDEN
issues
object[]
An array of issues that were responsible for the error
{
"code": "FORBIDDEN",
"message": "Unauthorized",
"issues": []
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The error message
Not Found
The error code
NOT_FOUND
issues
object[]
An array of issues that were responsible for the error
{
"code": "NOT_FOUND",
"message": "Not Found",
"issues": []
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The error message
Internal Error
The error code
INTERNAL_SERVER_ERROR
issues
object[]
An array of issues that were responsible for the error
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal Error",
"issues": []
}