v1

latestOpenAPI 3.1.0Any Source Available License 1.02026-07-1736102200.0 KB
Properties

Delete property

This endpoint "deletes" a property by marking it as archived. The deletion process is performed safely and is subject to rate limiting. It returns the property’s details after it has been archived. Proper error handling is in place for situations such as when the property isn’t found or the deletion cannot be performed because of permission issues.

delete/v1/spaces/{space_id}/properties/{property_id}

Path parameters

space_idstring required

The ID of the space to which the property belongs; must be retrieved from ListSpaces endpoint

property_idstring required

The ID of the property to delete; must be retrieved from ListProperties endpoint or obtained from response context

Headers

Anytype-Versionstring required

The version of the API to use

Response

The deleted property

Example response

{
  "property": {
    "id": "bafyreids36kpw5ppuwm3ce2p4ezb3ab7cihhkq6yfbwzwpp4mln7rcgw7a",
    "key": "last_modified_date",
    "name": "Last modified date",
    "object": "property"
  }
}