Admin
Delete a user
Changed onDeletes the user account, revokes its sessions, API keys, OAuth grants and connected accounts, and soft-removes its organization memberships. Admins cannot delete their own user.
delete/v1/admin/users/{userId}
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/admin/users/{userId}
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Path parameters
userIdstring required
Response
The user was deleted.
Changes
- info
the endpoint scheme security
bearerAuthwas added to the API - info
the endpoint scheme security
denApiKeywas added to the API - info
api tag
Adminadded - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info