# Get heldspace deletion dependencies.

Endpoint: GET /heldspace/{heldspaceId}/deletion-dependencies
Version: 3.30.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `heldspaceId` (string, required)
    The heldspace id to filter by.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `prerequisite_actions` (array)
    The pre-requisite actions to perform before deleting the snapshot.

  - `prerequisite_actions.object_id` (string)
    ID of the object.

  - `prerequisite_actions.object_type` (string)
    Type of the object.
    Enum: "SNAPSHOT", "VDB", "DSOURCE", "DATALAYOUT_CONTAINER", "DATALAYOUT_TEMPLATE", "UNKNOWN"

  - `prerequisite_actions.object_name` (string)
    Name of the object.

  - `prerequisite_actions.namespace_id` (string)
    ID of the namespace that this object belongs to.

  - `prerequisite_actions.action` (string)
    The action to perform.
    Enum: "REMOVE_KEEP_FOR", "TAKE_SNAPSHOT", "REFRESH"

  - `prerequisite_actions.linked_object_id` (string)
    ID of the deletion dependency object which is linked to this prerequisite action.

  - `prerequisite_actions.linked_object_type` (string)
    Deletion dependency object type.
    Enum: "TIMEFLOW", "SNAPSHOT", "JSBOOKMARK", "JSBRANCH", "TIMEFLOWBOOKMARK", "HELDSPACE", "VDB", "DSOURCE", "UNKNOWN", "ALLSNAPSHOTS", "BOOKMARK"

  - `prerequisite_actions.locked` (boolean)
    Whether the prerequisite action is locked. If this is true then this action will be skipped.

  - `object_dependencies` (array)
    The object dependencies of the snapshot.

  - `object_dependencies.object_id` (string)
    ID of the object.

  - `object_dependencies.object_name` (string)
    Name of the object.

  - `object_dependencies.namespace_id` (string)
    ID of the namespace that this object belongs to.

  - `object_dependencies.storage_size` (integer)
    Storage size of the object.

  - `object_dependencies.timeflow_vdb_id` (string)
    If the object is a Timeflow, then this is the ID of the VDB that is associated with the Timeflow.

  - `object_dependencies.timeflow_vdb_name` (string)
    If the object is a Timeflow, then this is the name of the VDB that is associated with the Timeflow.

  - `object_dependencies.timeflow_dsource_id` (string)
    If the object is a Timeflow, then this is the ID of the dSource that is associated with the Timeflow.

  - `object_dependencies.timeflow_dsource_name` (string)
    If the object is a Timeflow, then this is the name of the dSource that is associated with the Timeflow.

  - `object_dependencies.locked` (boolean)
    Whether the object is locked. If this is true then this object will not be deleted.

  - `object_dependencies.parent_object_id` (string)
    ID of the parent object.

  - `object_dependencies.timeflow_snapshot_count` (integer)
    Total number of snapshots in the Timeflow if the object is a Timeflow otherwise -1.

  - `object_dependencies.timeflow_bookmarks_count` (integer)
    Total number of bookmarks associated with the Timeflow if the object is a Timeflow otherwise -1.

  - `dependency_tree` (object)
    The deletion dependencies of an object which occupies disk space.

  - `dependency_tree.prerequisite_actions` (array)
    The pre-requisite actions to perform before deleting the object.

  - `dependency_tree.object_dependencies` (array)
    The object dependencies of the object.

