Endpoint
/api/v2/tenants/{tenantId}/dependencies/{resourceuuid}
Deletes a single or multiple dependent resources from a resource.
Path Parameters
tenantIdstring
resourceuuidstring
{
"dependent-resources": [
"57ff9192-2671-4955-a129-99c0a9561630",
"421fae20-665a-e93c-3304-1b362ae0cd94",
"421f2a13-4338-a357-4c4b-c3fa7ee0a1ca",
"3CE66868-8813-4EA2-AFCD-F52927DCE28D"
]
}
Responses
OK
statusstring
{
"status": "success"
}
Internal Server Error
codestring
messagestring
{
"code": "0003",
"message": "No resource found with UUID : 8e821346-d93f-464e-84b8-d17f02ae4a6c"
}
Endpoint
/api/v2/tenants/{tenantId}/dependencies/{resourceuuid}
Groups the resources that are dependent on a resource.
Path Parameters
tenantIdstring
resourceuuidstring
Responses
OK
[
{
"id": 769,
"name": "172.30.22.71",
"sourceType": "DEVICE",
"state": "active",
"uuid": "0c5489ce-2f10-40b4-8ecf-dd1a402fa16d"
},
{
"id": 771,
"name": "172.30.22.62",
"sourceType": "DEVICE",
"state": "active",
"uuid": "e490305f-c70c-48dd-b810-71f9d9a09f8e"
},
{
"id": 768,
"name": "172.30.22.52",
"sourceType": "DEVICE",
"state": "active",
"uuid": "30fb8807-68ea-4582-b976-95ea36c54884"
},
{
"id": 770,
"name": "172.30.22.51",
"sourceType": "DEVICE",
"state": "active",
"uuid": "d1ca3816-8a06-4caf-8255-3cfb57192ce9"
},
{
"id": 773,
"name": "172.30.22.72",
"sourceType": "DEVICE",
"state": "active",
"uuid": "4da0f311-7c0a-4f17-896e-1e4daf96dbcc"
}
]
Internal Server Error
codestring
messagestring
{
"code": "0003",
"message": "No resouce found with UUID : 8e821346-d93f-464-84b8-d17f02ae4a6c"
}
Endpoint
/api/v2/tenants/{tenantId}/dependencies/{resourceuuid}
Groups the resources dependent on a resource.
Path Parameters
tenantIdstring
resourceuuidstring
{
"dependent-resources": [
"57ff9192-2671-4955-a129-99c0a9561630",
"421fae20-665a-e93c-3304-1b362ae0cd94",
"421f2a13-4338-a357-4c4b-c3fa7ee0a1ca",
"3CE66868-8813-4EA2-AFCD-F52927DCE28D"
]
}
Responses
OK
statusstring
{
"status": "success"
}
Internal Server Error
codestring
messagestring
{
"code": "0003",
"message": "No resource found with UUID : 8e821346-d93f-464e-84b8-d17f02ae4a6c"
}