Get tenant configuration
Receiving the tenant configuration is done by performing a HTTP GET request which contains the tenant information.
Prerequisites
Your are logged in to the Bosch IoT Hub - Management API. Refer to Login to Bosch IoT Hub - Management API.
Get configuration
In the Management API navigate to the tenant section and select the GET operation.
Press the Try it out button.
Enter your tenant-id in the tenant-id field.
Press the Execute button.
Verify that the request was successful (Code 200).
The output on a successful request should look like this:
{
"enabled"
:
true
,
"ext"
: {
"service-plan"
:
"starter"
},
"adapters"
: [
{
"type"
:
"http"
,
"enabled"
:
true
,
"device-authentication-required"
:
true
,
"ext"
: {
"uri"
:
"https://http.bosch-iot-hub.com"
,
"host"
:
"http.bosch-iot-hub.com"
,
"port"
:
"443"
}
},
{
"type"
:
"mqtt"
,
"enabled"
:
true
,
"device-authentication-required"
:
true
,
"ext"
: {
"uri"
:
"mqtts://mqtt.bosch-iot-hub.com"
,
"host"
:
"mqtt.bosch-iot-hub.com"
,
"port"
:
"8883"
}
}
],
"minimum-message-size"
:
0
,
"resource-limits"
: {
"max-connections"
:
0
,
"max-ttl"
:
0
,
"data-volume"
: {
"effective-since"
:
"2020-07-06T06:05:32.693Z"
,
"max-bytes"
:
0
,
"period"
: {
"mode"
:
"string"
,
"no-of-days"
:
0
}
},
"connection-duration"
: {
"effective-since"
:
"2020-07-06T06:05:32.693Z"
,
"max-minutes"
:
0
,
"period"
: {
"mode"
:
"string"
,
"no-of-days"
:
0
}
}
},
"trusted-ca"
: [
{
"id"
:
"ACME-until-2021"
,
"subject-dn"
:
"CN=devices,OU=iot,O=ACME"
,
"public-key"
:
"Tk9UIEEgUFVCTElDIEtFWQ=="
,
"algorithm"
:
"EC"
,
"auto-provisioning-enabled"
:
false
,
"not-before"
:
"2019-10-03T13:45:16+02:00"
,
"not-after"
:
"2021-10-03T00:00:00Z"
}
]
}