Organizations
Provides methods for interacting with Organizations in the Sentry API.
Table of Contents
Constructor
Organizations
(
-
client
Parameters:
-
clientClient
Methods
create
(
Promise
-
body -
callback
Create a new organization.
Parameters:
-
bodyObject-
nameStringThe human readable name for the new organization.
-
slugStringThe unique URL slug for this organization. If this is not provided a slug is automatically generated based on the name.
-
-
callbackFunction
Returns:
Promise
delete
(
Promise
-
orgSlug -
callback
Delete an organization.
Parameters:
-
orgSlugStringOrganization slug.
-
callbackFunction
Returns:
Promise
get
(
Promise
-
orgSlug -
callback
Retrieve an organization.
Parameters:
-
orgSlugStringOrganization slug.
-
callbackFunction
Returns:
Promise
projects
(
Promise
-
orgSlug -
callback
Retrieve an organization's projects.
Parameters:
-
orgSlugStringOrganization slug.
-
callbackFunction
Returns:
Promise
update
(
Promise
-
orgSlug -
body -
callback
Update an organization.
Parameters:
-
orgSlugStringOrganization slug.
-
bodyObject-
nameStringAn optional new name for the organization.
-
slugStringAn optional new slug for the organization. Needs to be available and unique.
-
-
callbackFunction
Returns:
Promise