Skip to main content

Constructor

Parameters

Returns

OrganizationsClient

Methods

createOrganization()

Create a new organization in this enterprise

Parameters

Request-specific configuration.

Returns

OrganizationResponse

deleteOrganization()

Delete an organization from this enterprise

Parameters

Request-specific configuration.

Returns

OrganizationResponse

getOrganization()

Get details for a specific organization in the enterprise.

Parameters

Request-specific configuration.

Returns

OrganizationResponse

getOrganizations()

List organizations in the enterprise.

Parameters

Request-specific configuration.

Returns

OrganizationResponsePaginatedResponseOrganizationResponse

startCodeScan()

Start a new code scan on a repository in an organization. The scan is enqueued and launched asynchronously by the scan dispatcher. The scan is attributed to the calling principal (the service user or PAT that made the request). Returns 409 when the organization’s scan backlog is at capacity.

Parameters

Request-specific configuration.

Returns

CodeScanResponse

updateOrganization()

Update an organization’s name and/or ACU limits

Parameters

Request-specific configuration.

Returns

OrganizationResponse