Delete user
DELETEhttps:/api.openai.com/v1/organization/users/{user_id}
Deletes a user from the organization.
Path parameters
user_id
string
Required
The ID of the user.
Response
Confirmation of the deleted user
Example request
1 curl -X DELETE https://api.openai.com/v1/organization/users/user_abc \2 -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \3 -H "Content-Type: application/json"
Example response
1 {2 "object": "organization.user.deleted",3 "id": "user_abc",4 "deleted": true5 }
Built with