v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBOCI Integration
Get tenancy config
Get a single tenancy config object by its OCID. Returns detailed configuration including authentication credentials, enabled services, region settings, and collection preferences.
get/api/v2/integration/oci/tenancies/{tenancy_ocid}
Path parameters
tenancy_ocidstring required
The OCID of the tenancy config to retrieve.
Response
OK
Example response
{
"data": {
"attributes": {
"config_version": 2,
"cost_collection_enabled": true,
"dd_compartment_id": "ocid.compartment.test",
"dd_stack_id": "ocid.stack.test",
"home_region": "us-ashburn-1",
"logs_config": {
"compartment_tag_filters": [
"compartment.test"
],
"enabled": true,
"enabled_services": [
"compute"
]
},
"metrics_config": {
"compartment_tag_filters": [
"compartment.test"
],
"enabled": true,
"excluded_services": [
"compute"
]
},
"regions_config": {
"available": [
"us-ashburn-1",
"us-phoenix-1"
],
"disabled": [
"us-phoenix-1"
],
"enabled": [
"us-ashburn-1"
]
},
"resource_collection_enabled": true,
"user_ocid": "ocid.user.test"
},
"id": "ocid.tenancy.test",
"type": "oci_tenancy"
}
}