Memberships
Notes
Tability uses a model where users can be part of multiple workspaces with the same account.
As such, access management in a workspaces is done via the memberships model.
GET
all the memberships in a specific workspace
GET
all the memberships in a specific workspaceGET
https://api.tability.app/v2/workspaces/:workspaceID/memberships
Path Parameters
:workspaceID*
String
Unique ID of the workspace
Request Body
page
number
Identifier of the page results to fetch
name
string
Name or email of a specific user to search
role
string
Return the list of users corresponding to a specific role.
One of 'owner', 'admin', 'user', 'readonly'
GET
the details for a specific membership
GET
the details for a specific membershipGET
https://api.tability.app/v2/workspaces/:workspaceID/memberships/:membershipID
Path Parameters
:workspaceID*
String
Unique ID of the workspace
:membershipID*
String
Unique ID of the membership
GET the manager for a specific membership
GET
https://api.tability.app/v2/workspaces/:workspaceID/memberships/:membershipID/manager
Path Parameters
:workspaceID*
String
Unique ID of the workspace
:membershipID*
String
Unique ID of the membership
GET
the direct reports for a specific membership
GET
the direct reports for a specific membershipGET
https://api.tability.app/v2/workspaces/:workspaceID/memberships/:membershipID/direct_reports
Path Parameters
:workspaceID*
String
Unique ID of the workspace
:membershipID*
String
Unique ID of the membership
UPDATE
the details for a specific membership
UPDATE
the details for a specific membershipPUT
https://api.tability.app/v2/workspaces/:workspaceID/memberships/:membershipID
Path Parameters
:workspaceID*
String
Unique ID of the workspace
:membershipID*
String
Unique ID of the membership
Body
:role
String
Role of the user. One of 'owner', 'admin', 'user', 'readonly'
:manager_id
String
Unique ID of the membership corresponding to the manager
DELETE
a specific membership
DELETE
a specific membershipDELETE
https://api.tability.app/v2/workspaces/:workspaceID/memberships/:membershipID
Path Parameters
:workspaceID*
String
Unique ID of the workspace
:membershipID*
String
Unique ID of the membership (can be UUID)
POST
Add new users to your workspace
POST
Add new users to your workspacePOST
https://api.tability.app/v2/workspaces/:workspaceID/memberships/
Path Parameters
:workspaceID*
String
Unique ID of the workspace
:emails*
Array of emails
Array of all emails to add, limited to 50 per request
POST
Add readonly users to your workspace
POST
Add readonly users to your workspacePOST
https://api.tability.app/v2/workspaces/:workspaceID/memberships/free
Path Parameters
:workspaceID*
String
Unique ID of the workspace
:emails*
Array of emails
Array of all emails to add, limited to 50 per request
Last updated