Skip to content
Last updated

Remove a user from a department.

DELETEhttps://api.aitronos.com/v1/organizations/{organization_id}/departments/{department_id}/members/{user_id}

Removes a user from the specified department. The user remains a member of the organization but is no longer associated with this department.

Path Parameters

organization_id string required

The unique identifier of the organization (format: org_*).

department_id string required

The unique identifier of the department (format: dept_*).

user_id string required

The unique identifier of the user to remove (format: usr_*).


Returns

No content. Returns a 204 No Content status code on success.

cURL
curl -X DELETE https://api.aitronos.com/v1/organizations/org_xyz789/departments/dept_abc123/members/usr_def456 \
  -H "Authorization: Bearer $ACCESS_TOKEN"