Endpoint
/api/v2/tenants/{tenantId}/dependencies/{resourceuuid}

Deletes a single or multiple dependent resources from a resource.

Path Parameters
tenantId
string

Describes the client ID of the tenant

resourceuuid
string

dependent-resources
array

Resources dependent on a resource dependency.

{
  "dependent-resources": [
    "57ff9192-2671-4955-a129-99c0a9561630",
    "421fae20-665a-e93c-3304-1b362ae0cd94",
    "421f2a13-4338-a357-4c4b-c3fa7ee0a1ca",
    "3CE66868-8813-4EA2-AFCD-F52927DCE28D"
  ]
}

Responses

OK

status
string

{
  "status": "success"
}

Internal Server Error

code
string

message
string

{
  "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
tenantId
string

Describes the client ID of the tenant

resourceuuid
string

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

code
string

message
string

{
  "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
tenantId
string

Describes the client ID of the tenant

resourceuuid
string

dependent-resources
array

Resources dependent on a resource dependency.

{
  "dependent-resources": [
    "57ff9192-2671-4955-a129-99c0a9561630",
    "421fae20-665a-e93c-3304-1b362ae0cd94",
    "421f2a13-4338-a357-4c4b-c3fa7ee0a1ca",
    "3CE66868-8813-4EA2-AFCD-F52927DCE28D"
  ]
}

Responses

OK

status
string

{
  "status": "success"
}

Internal Server Error

code
string

message
string

{
  "code": "0003",
  "message": "No resource found with UUID : 8e821346-d93f-464e-84b8-d17f02ae4a6c"
}