Skip to content

Retrieve a tenant

Request

Retrieves the tenant the request acts as, using tenants/current or that tenant's canonical resource name. Any other tenant returns NOT_FOUND. Requests act as the calling tenant unless a partner sends the X-Bndry-On-Behalf-Of header to act as one of its child tenants.

Security
oauth2_client_credentials or oauth2_authorization_code
Path
tenantstringrequired

The tenant id.

curl -i -X GET \
  'https://docs.bndry.net/_mock/apis/openapi/v1alpha/tenants/{tenant}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
namestring(name)

(IDENTIFIER) The resource name of the tenant. Format: tenants/{tenant} string.resource_name = ["tenants/*"] // value must be a valid resource name

displayNamestring, non-empty(display_name)required

Required. A mutable, user-settable field for providing a human-readable name for the tenant, to be used in user interfaces. Must be <= 63 characters. string.display_name = true // value must be at most 63 characters

createTimestring, (date-time)(create_time)read-only

Output only. The timestamp when the tenant was created.

Example:"2023-01-15T01:30:15.01Z"
updateTimestring, (date-time)(update_time)read-only

Output only. The timestamp when the tenant was most recently updated.

Example:"2023-01-15T01:30:15.01Z"
deleteTimestring, (date-time)(delete_time)read-only

Output only. The timestamp when the tenant was deleted. Tenants cannot currently be deleted through the API.

Example:"2023-01-15T01:30:15.01Z"
reconcilingboolean(reconciling)read-only

Output only. Whether backing infrastructure is still being provisioned.

annotationsobject(annotations)

(OPTIONAL) Optional. Client-managed key-value metadata.

etagstring(etag)

The checksum computed by the server from the resource fields. string.etag = true // etag must be at most 256 characters

Response
{ "name": "string", "displayName": "string", "createTime": "2023-01-15T01:30:15.01Z", "updateTime": "2023-01-15T01:30:15.01Z", "deleteTime": "2023-01-15T01:30:15.01Z", "reconciling": true, "annotations": { "property1": "string", "property2": "string" }, "etag": "string" }