Endpoint

/v1/portal/spokes/{id}/evict-tree

POST

Begin the background removal of data for a cached directory and all of its children.

Parameters

Name Description Required
id Portal ID Yes

Request

Schema

{
  "description": "api_portal_evict_tree_request",
  "type": "object",
  "properties": {
    "dir_id": {
      "description": "ID of the directory of the tree to evict. The directory must belong to a portal, and will itself be evicted unless it is the spoke root.",
      "type": "string"
    }
  }
}

Response

Codes

Code Description
202 Return value on success