Create Tenant Account
Create a Tenant Account.
Org must have an Infrastructure Provider entity and its ID must match the Infrastructure Provider ID in request data. User must have `FORGE_PROVIDER_ADMIN` authorization role
Infrastructure Provider can create a Tenant Account by specifying the Tenant's UUID or Tenant's org name. This will set the status of the Tenant Account to "Invited". Then the Tenant can view this account information and are able to confirm/accept the account by updating the Tenant Account.
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
Request
This endpoint expects an object.
infrastructureProviderId
tenantOrg
Must be a valid Org name
Response
Created
id
infrastructureProviderId
infrastructureProviderOrg
tenantId
tenantOrg
tenantContact
Details of the user collected from authentication tokens
allocationCount
status
Status values for Tenant Account objects
Allowed values:
statusHistory
created
updated
Errors
400
Bad Request Error
403
Forbidden Error