Retrieve Service Account status for current org

View as Markdown
Retrieve Service Account status for current org API service must be configured for Service Account access at the time of deployment. It cannot be enabled or disabled via API.

Authentication

AuthorizationBearer
``` export JWT_BEARER_TOKEN="<jwt-bearer-token>" # Example org name: "acme-inc export ORG_NAME=<org-name> # Use the JWT bearer token in your API request auth header: curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current ```

Path parameters

orgstringRequired

Response

OK
enabledboolean
Indicates whether Service Account is enabled
infrastructureProviderIdstringformat: "uuid"
ID of the Infrastructure Provider associated with Service Account
tenantIdstringformat: "uuid"
ID of the Tenant associated with Service Account

Errors

403
Forbidden Error