Delete a Sharebox

DELETE {{api-server}}/{{token}}/v5/share/:sharebox_uuid

The HTTP DELETE request is used to delete a specific Sharebox identified by the provided sharebox_uuid in the URL.

Response

The response for this request is a JSON object with the following schema:

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "msg": {
      "type": "string"
    },
    "info": {
      "type": "object",
      "properties": {
        "duration": {
          "type": "number"
        },
        "api_version": {
          "type": "number"
        }
      }
    },
    "api_version": {
      "type": "object",
      "properties": {
        "hash": {
          "type": "string"
        },
        "datetime": {
          "type": "string"
        },
        "module": {
          "type": "string"
        }
      }
    }
  }
}

HEADERS

KeyDatatypeRequiredDescription
X-Filerobot-Keystring

RESPONSES

status: OK

{"status":"success","msg":"Successfully deleted the share with uuid=028f53bb-0148-409f-88ed-483dd8c33e6e","info":{"duration":0.15652155876159668,"api_version":5},"api_version":{"hash":"1ce24f12ff9f3205395f34065a5b87bbfa619e25","datetime":"2024-08-13T12:13:54+07:00","module":"elastic_v2"}}