Organizations
Manage organizations and group users, spaces, and collections.
Was this helpful?
Manage organizations and group users, spaces, and collections.
Was this helpful?
/orgs/{organizationId}/members/{userId}/sso
The unique id of the organization
The unique ID of the User
/orgs/{organizationId}/custom-fields/{fieldName}
The unique id of the organization
The name of the custom field
/orgs/{organizationId}/custom-fields/{fieldName}
The unique id of the organization
The name of the custom field
No body
/orgs/{organizationId}/custom-fields/{fieldName}
The unique id of the organization
The name of the custom field
/orgs/{organizationId}/saml/{samlProviderId}
The unique id of the organization
The unique id of the SAML provider
/orgs/{organizationId}/saml/{samlProviderId}
The unique id of the organization
The unique id of the SAML provider
No body
/orgs/{organizationId}/saml/{samlProviderId}
The unique id of the organization
The unique id of the SAML provider
The role of a member in an organization, null for guests
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
/orgs/{organizationId}/link-invites/{inviteId}
The unique id of the organization
The unique id of the invite
Update role of an organization invite
Update level of an organization content invite
/orgs/{organizationId}
The unique id of the organization
Name of the organization
Default hostname for the organization's public content, e.g. <org-hostname>.gitbook.io
The role of a member in an organization, null for guests
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
/orgs/{organizationId}/invites
The unique id of the organization
Default role to set on newly invited members.
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
If true, invites the user as an SSO user of the organization. Defaults to false.
/orgs/{organizationId}/link-invites
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
/orgs/{organizationId}/search
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
/orgs/{organizationId}/custom-fields
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
/orgs/{organizationId}/custom-fields
The unique id of the organization
^[a-z_\-0-9]+$
text
, number
, boolean
, tags
, select:multi
, select:single
Gets a specific member in an organization.
/orgs/{organizationId}/members/{userId}
The unique id of the organization
The unique ID of the User
Deletes a specific member from an organization
/orgs/{organizationId}/members/{userId}
The unique id of the organization
The unique ID of the User
No body
Updates a specific member in an organization.
/orgs/{organizationId}/members/{userId}
The unique id of the organization
The unique ID of the User
The role of a member in an organization, null for guests
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
Gets a specific team in an organization.
/orgs/{organizationId}/teams/{teamId}
The unique id of the organization
The unique ID of the Team
Deletes a specific team in an organization
/orgs/{organizationId}/teams/{teamId}
The unique id of the organization
The unique ID of the Team
No body
Updates a specific team in an organization.
/orgs/{organizationId}/teams/{teamId}
The unique id of the organization
The unique ID of the Team
Title of the team
Add or updates member in the specified organization team.
/orgs/{organizationId}/teams/{teamId}/members/{userId}
The unique id of the organization
The unique ID of the Team
The unique ID of the User
"The role of a team member. "owner": Can manage team members. "member": Is a member of the team.
owner
, member
No body
Deletes member from the specified organization team.
/orgs/{organizationId}/teams/{teamId}/members/{userId}
The unique id of the organization
The unique ID of the Team
The unique ID of the User
No body
Update organization member's "last seen at" timestamp.
/orgs/{organizationId}/ping
The unique id of the organization
Lists SSO login information configured for the specified organization.
/orgs/{organizationId}/sso
The unique id of the organization
Lists members for the specified organization.
/orgs/{organizationId}/members
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
An order for the items in the list
asc
, desc
The Role to filter the member list by
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.
A query to filter the member list (displayName and email)
The property to sort the results by. When sorting by lastSeenAt, only active members will be listed.
joinedAt
, lastSeenAt
Lists teams for the specified organization.
/orgs/{organizationId}/teams
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
The unique identifier of a member of the organization. Only teams they can manage will be returned.
If provided, only teams whose name contains the given parameter will be returned. Case insensitive.
Creates a team in the specified organization.
/orgs/{organizationId}/teams
The unique id of the organization
Title of the team
A list of organization member identifiers
Lists members, and their roles, for the specified organization team.
/orgs/{organizationId}/teams/{teamId}/members
The unique id of the organization
The unique ID of the Team
Identifier of the page results to fetch.
The number of results per page
Updates members of an organization team, either adding or removing them. If a the same user is included as both an add and a remove, they will be removed from the team.
/orgs/{organizationId}/teams/{teamId}/members
The unique id of the organization
The unique ID of the Team
A user to add. It can either be a user ID or an email.
A user to remove. It can either be a user ID or an email.
No body
Lists spaces for the specified organization.
/orgs/{organizationId}/spaces
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
/orgs/{organizationId}/spaces
The unique id of the organization
Unicode codepoint or character of the emoji
🎉
Private spaces are no longer supported by GitBook.
ID of a parent collection
Lists collections for the specified organization.
/orgs/{organizationId}/collections
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
If true, all nested collections will be listed
Lists SAML providers configured for the specified organization.
/orgs/{organizationId}/saml
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
/orgs/{organizationId}/saml
The unique id of the organization
The role of a member in an organization, null for guests
"The role of a member in an organization. "admin": Can administrate the content: create, delete spaces, ... "create": Can create content. "review": Can review content. "edit": Can edit the content (live or change requests). "comment": Can access the content and its discussions. "read": Can access the content, but cannot update it in any way.