Delete user
DELETE/organization/users/{user_id}
Deletes a user from the organization.
Delete user
curl -X DELETE https://api.openai.com/v1/organization/users/user_abc \
-H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
-H "Content-Type: application/json"
{
"object": "organization.user.deleted",
"id": "user_abc",
"deleted": true
}
Returns Examples
{
"object": "organization.user.deleted",
"id": "user_abc",
"deleted": true
}