Update Tenant Account
Update a Tenant Account.
Can be used to accept an invitation sent by an Infrastructure Provider.
Org must have a Tenant entity whose ID matches the tenantId of the Tenant Account object. User must have authorization role with TENANT_ADMIN suffix. Can only update a Tenant Account that has Invited status.
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://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current
```
Path parameters
org
Name of the Org
accountId
ID of the Tenant Account
Request
No parameters are required; an empty request body is sufficient.
Response
OK
id
Unique UUID v4 identifier for the Tenant Account
infrastructureProviderId
ID of the Infrastructure Provider
infrastructureProviderOrg
Organization name of the Infrastructure Provider
tenantId
ID of the Tenant
tenantOrg
Org of the Tenant
tenantContact
Contact user for the Tenant
allocationCount
Number of Allocations for the Tenant Account
status
Status of the Tenant Account
statusHistory
Chronological status history for the Tenant Account
created
Date/time when the Tenant Account was created
updated
Date/time when the Tenant Account was last updated
Errors
400
Bad Request Error
403
Forbidden Error