Orgs
Last updated
Was this helpful?
Last updated
Was this helpful?
Get a paginated list of organizations you have access to.
/orgs
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Number of results to return per page
10
If set, only return organizations within the specified group
If true, only return organizations that are not part of a group.
Only return orgs whose slug exactly matches this value.
^[\w.-]+$
Only return orgs whose name contains this value.
Expand the specified related resources in the response to include their attributes.
Update the details of an organization
/orgs/{org_id}
Unique identifier for org
b667f176-df52-4b0a-9954-117af6b05ab7
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Create a org membership for a user with role
/orgs/{org_id}/memberships
The ID of the org
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Returns all memberships of the org
/orgs/{org_id}/memberships
The ID of the org
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Number of results to return per page
10
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Which column to sort by.
username
, user_display_name
, email
, login_method
, role
Order in which results are returned.
ASC
ASC
, DESC
Filter the response by Users that match the provided email
Filter the response by Users that match the provided user ID
Filter the response by Users that match the provided username
Filter the response for results only with the specified role.
Update a org membership for a user with role
/orgs/{org_id}/memberships/{membership_id}
The id of the org
The id of the org membership
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
No body
Remove a user's membership of the group.
/orgs/{org_id}/memberships/{membership_id}
The id of the org
The id of the org membership
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
No body
Get a paginated list of all the organizations belonging to the group. By default, this endpoint returns the organizations in alphabetical order of their name.
/groups/{group_id}/orgs
Unique identifier for group
b667f176-df52-4b0a-9954-117af6b05ab7
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Number of results to return per page
10
Only return organizations whose name contains this value. Case insensitive.
Only return organizations whose slug exactly matches this value. Case sensitive.