Getting an IoT Domain Group's Details
Get the details for an Internet of Things (IoT) domain group.
Use the
oci iot domain-group get
command and required parameters to get the IoT domain group details including the domain group's data access details, if configured. Replace the<iot-domain-group-OCID>
with the OCID for your IoT domain group:oci iot domain-group get --iot-domain-group-id <iot-domain-group-OCID>
This example response shows the domain group is active,
"lifecycleState": "ACTIVE"
and if configured this response includes the data access details for the IoT domain group and the data host with the domain group short id:db-allow-listed-vcn-ids
db-connection-string
db-token-scope
data-host:<domain-group-short-id>.data.iot.<region>.oci.oraclecloud.com
{ "data": { "compartment-id": "<compartment-OCID>", "data-host": "<domain-group-short-id>.iot-data.<region>.oci.oraclecloud.com", "db-allow-listed-vcn-ids": null, "db-connection-string": null, "db-token-scope": null, "defined-tags": { "Oracle-Tags": { "CreatedBy": "default/user", "CreatedOn": "2025-08-05T18:15:41.260Z" } }, "description": null, "display-name": "<your-iot-domain-group-name>", "freeform-tags": {}, "id": "<domain-group-OCID>", "lifecycle-state": "ACTIVE", "system-tags": {}, "time-created": "2025-08-05T18:15:43.054000+00:00", "time-updated": "2025-08-05T18:27:53.655000+00:00" }, "etag": "<unique-id>" }
Run the GetIotDomainGroup operation to get the IoT domain group details.