Outline · Example Payload

Documentsdelete

Documents

Documentsdelete is an example object payload from Outline, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdpathmethodsummarytagsrequestSchema

Example Payload

Raw ↑
{
  "operationId": "documentsDelete",
  "path": "/documents.delete",
  "method": "POST",
  "summary": "Delete a document",
  "tags": [
    "Documents"
  ],
  "requestSchema": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "example": "hDYep1TPAM",
        "description": "Unique identifier for the document. Either the UUID or the urlId is acceptable."
      },
      "permanent": {
        "type": "boolean",
        "example": false,
        "description": "If set to true the document will be destroyed with no way to recover rather than moved to the trash."
      }
    },
    "required": [
      "id"
    ]
  }
}