Retrieve Service Account status for current org
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
org
Response
OK
enabled
Indicates whether Service Account is enabled
infrastructureProviderId
ID of the Infrastructure Provider associated with Service Account
tenantId
ID of the Tenant associated with Service Account
Errors
403
Forbidden Error