# API’s for provisioning users programmatically

We're excited to announce that we have launched three new APIs to primarily support provisioning and deprovisioning of users to the Tray organization and workspaces

**What do these API’s do:**

* **Workspaces**

* Using this API, customers can add and remove users to and from a workspace

* **Users**

* Using this API, customers can provision and deprovision users to and from their Tray organization

* **Roles**

* Using this API, customers can update the roles of the users in the organization

**API Documentation**:

* **Workspace:**

[Invite User to Organization Workspace](https://tray.ai/documentation/developer/platform-apis/users#endpoint-invite-user-to-organization)

* \*\*Users: \*\*

[Create User](https://tray.ai/documentation/developer/platform-apis/users#endpoint-create-user)

* **Roles:**

[User management and RBAC](https://tray.ai/documentation/platform/enterprise-core/organisation-management/users/roles)
