Skip to content

Tenant Details

Returns the details of a single tenant.

Request

GET /api/oauth/v2/resource/tenancies/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters

ParameterTypeRequiredDescription
uuidstring (UUID)YesUnique tenant ID

Required scope: company

Response

Success (200 OK)

json
{
  "data": {
    "id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
    "name": "Ordination Muster",
    "abbreviation": "OM",
    "color": "#00adba"
  }
}

Response fields

FieldTypeDescription
data.idstring (UUID)Unique tenant ID
data.namestringName of the tenant
data.abbreviationstring | nullAbbreviation
data.colorstring | nullColor as hex code (e.g. #00adba)

Note: The API returns additional internal fields not documented here. Only use the fields described here — all others may change without notice.

Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/tenancies/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope company not present
404not_foundTenant not found

Offisy GmbH