Skip to content

Delete user

DELETE
/users/{id}
curl --request DELETE \
--url https://api.occulights.com/api/v1/users/example \
--header 'Authorization: <Authorization>'

Deletes a user by ID for the authenticated tenant

id
required
string format: uuid

User ID

User deleted

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

No Content

Media typeapplication/json

Invalid user ID format

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Unauthorized

Media typeapplication/json
string

Example generated

example

User not found

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Internal Server Error

Media typeapplication/json