Skip to content
Navigation

Permanently delete all or filtered objects

Permanently deletes the objects of a definition in a space. The objects cannot be restored. The definition stays. Authorization: requires space:contribute on :spaceId. Lacking it gives 403 (no space:read gives 404). Body: { view? }. With view, only the objects that match the filters of that saved view are deleted. One request deletes at most 2000 objects. Returns { deleted, more }. When more is true, send the same request again.

POST
https://api.cloudraker.com/spaces/{spaceId}/objects/{definitionId}/delete-matching
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • definitionId
    string
    required

Request body JSON required

  • view
    optional
    string

    A saved view id. Only the objects that match its filters are deleted. Without it, all the objects are deleted.

    minLength: 1

Returns

200

The deleted count.

JSON
  • deleted
    number
    required

    How many objects the request deleted.

  • more
    boolean
    required

    True when matching objects can stay. Send the same request again.

403

Missing space:contribute.

404

Missing space:read, or an unknown view id.

422

A view filter names an unknown or archived field.

Type to search…

↑↓ navigate↵ selectEsc close