Delete a user
DELETE
Deletes a user so they can no longer sign in. You cannot delete yourself or use me (400).
Secret and trusted tokens may call this with the users delete permission.
header
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
user_id*stringThe user's user_id. With a trusted token, me means the signed-in user. me with any other token type is 403.
The user is deleted. No body.
curl -X DELETE 'https://api.comecero.com/api/v1/users/jane.smith.test'Example Response
Empty
Update a user POST
Changes a user. Only the fields you send change. Fires the `user:modified` event. A trusted token may always update its own user with `me`, even without the `users` update permission. On `me` only `name`, `email`, `password` and `language` are used; other fields are ignored. Updating any other user needs a secret or trusted token with that permission.
Overview
Next Page