Soft delete a single organization member. Cannot delete the organization owner.
DELETE/v1/organizations/{organization_id}/users/{user_id}/delete
organization_id string required
Organization ID
user_id string required
User ID (usr_...) or OrganizationUser ID (orgusr_...) of the member to delete
Returns 204 No Content on success.
- Creates an audit log entry
- Organization owner cannot be deleted
- Member can be restored later using the restore endpoint
Requires Admin or Owner role.
Bash
- Bash
- Python
- JavaScript
curl -X DELETE https://api.aitronos.com/v1/organizations/org_abc123/users/usr_xyz789/delete \
-H "X-API-Key: $FREDDY_API_KEY"Response:
(empty response body)