Skip to Content
SeyloDocs

Remove a person

POST
/api/v1/users.remove

Deletes an account with its sessions, second factors, API keys and grants. The audit log keeps its entries. The caller repeats the email to confirm.

Needs users.manage, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
userId*string

Panel-issued id.

Match^[a-z0-9]{16}$
confirmEmail*string

Must equal the account's email.

Lengthlength <= 254

Response Body

Success.

application/json
  1. response
Example Request
curl -X POST 'https://example.com/api/v1/users.remove' \  -H 'Content-Type: application/json' \  -d '{  "userId": "string",  "confirmEmail": "string"}'
Example Response
{}