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 URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
userId, string required
Response
The user was deleted.
object required
ok, true required
user, object required
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
5 more changes in this revision
- info