Get organization by Auth ID
const url = 'https://localhost:10001/api/v1/organizations/active/example';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:10001/api/v1/organizations/active/example \ --header 'Authorization: <Authorization>'Retrieve a specific organization using an auth identifier
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Auth ID
Responses
Section titled “ Responses ”Organization
A company or top-level entity that owns projects and the policy library
object
Deprecated: use idpOrgId
Generic IDP organization ID
IDP provider name (auth0, keycloak, etc)
Urn:uuid form
Example generated
{ "auth0Id": "example", "description": "example", "displayName": "example", "idpOrgId": "example", "idpProvider": "example", "name": "example"}Bad request - Invalid auth ID
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Unauthorized - Authentication required
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Organization not found
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Internal server error
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}