For the complete documentation index, see llms.txt. This page is also available as Markdown.

/api/v1/right

Access the ACL definitions and the per-context right presets used elsewhere in the API (collections, objects, pools, ...).

GET /right — List all right definitions known to this fylr instance.

List all right definitions known to this fylr instance.

get

Returns the Rights document: the right catalog built from the built-in rights.yml, plus the system rights contributed by enabled plugins (named plugin.<plugin>.<right>), plus every saved object and collection preset. The document is the same for any authenticated user — it is not filtered per session.

Differs from easydb 5: there is no per-context filter on this endpoint. easydb 5 documents GET /api/v1/right[/<context>] where the list can optionally be filtered by context; fylr serves only GET /right and always returns the full catalog.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Responses
200

The right catalog.

application/json

The rights catalog — the full inventory of right definitions, capabilities and saved presets known to this fylr instance, partitioned by context.

This is the response of GET /right. Clients use it to render permission UIs (preset editors, ACL bag editors) and to discover which rights are available in each context.

Plugins extend the catalog by contributing additional rights to the system context (named plugin.<plugin_name>.<right>).

{
  "system": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  },
  "pool": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  },
  "object": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  },
  "collection": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  },
  "tag": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  },
  "user": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  },
  "group": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  },
  "objecttype-without-pool": {
    "capabilities": {
      "active": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "preset": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "tagfilter": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "sticky": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    },
    "rights": [
      {
        "type": "",
        "name": "text",
        "comment": "text",
        "group": "text",
        "has_grantable": true,
        "parameters": [
          {
            "name": "text",
            "type": "bool",
            "comment": "text",
            "choices": [
              "text"
            ],
            "merge_policy": ""
          }
        ],
        "rights": [
          "[Circular Reference]"
        ]
      }
    ],
    "presets": [
      {
        "_basetype": "right_preset",
        "right_preset": {
          "_id": 1,
          "_version": 1,
          "_position": 1,
          "displayname": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "description": {
            "de-DE": "Deutscher text",
            "en-US": "English text"
          },
          "preset": {
            "default_expiration_hours": 1,
            "share_url": "text",
            "rights": {
              "ANY_ADDITIONAL_PROPERTY": {
                "_grantable": true,
                "allow_update_and_remove": true,
                "classes": [
                  "text"
                ],
                "extensions": [
                  "text"
                ],
                "versions": [
                  "text"
                ],
                "limit": 1,
                "mask_ids": {
                  "ANY_ADDITIONAL_PROPERTY": []
                },
                "column_ids": [
                  1
                ],
                "objecttype_ids": [
                  1
                ],
                "pool_ids": [
                  1
                ]
              }
            },
            "tagfilter": {
              "all": [
                1
              ],
              "any": [
                1
              ],
              "not": [
                1
              ],
              "changed": [
                1
              ]
            }
          }
        },
        "_created_at": "2026-01-01T00:00:00.000Z",
        "_updated_at": "2026-01-01T00:00:00.000Z"
      }
    ]
  }
}

GET /right/{context}/presets — List right presets for a context.

List right presets for a context.

get
Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
contextstring · enumRequired

The context to list presets for.

Possible values:
Responses
200

Array of presets.

application/json

A right preset — a reusable bundle of ACL grants (and an optional tag filter) that can be applied to objects or collections. Presets live per context (object or collection).

_basetypestring · enumRequired

Fixed marker identifying this object as a right preset.

Possible values:
_created_atstring · date-timeOptional
_updated_atstring · date-timeOptional
[
  {
    "_basetype": "right_preset",
    "right_preset": {
      "_id": 1,
      "_version": 1,
      "_position": 1,
      "displayname": {
        "de-DE": "Deutscher text",
        "en-US": "English text"
      },
      "description": {
        "de-DE": "Deutscher text",
        "en-US": "English text"
      },
      "preset": {
        "default_expiration_hours": 1,
        "share_url": "text",
        "rights": {
          "ANY_ADDITIONAL_PROPERTY": {
            "_grantable": true,
            "allow_update_and_remove": true,
            "classes": [
              "text"
            ],
            "extensions": [
              "text"
            ],
            "versions": [
              "text"
            ],
            "limit": 1,
            "mask_ids": {
              "ANY_ADDITIONAL_PROPERTY": []
            },
            "column_ids": [
              1
            ],
            "objecttype_ids": [
              1
            ],
            "pool_ids": [
              1
            ]
          }
        },
        "tagfilter": {
          "all": [
            1
          ],
          "any": [
            1
          ],
          "not": [
            1
          ],
          "changed": [
            1
          ]
        }
      }
    },
    "_created_at": "2026-01-01T00:00:00.000Z",
    "_updated_at": "2026-01-01T00:00:00.000Z"
  }
]

POST /right/{context}/presets — Create or update right presets for a context.

Create or update right presets for a context.

post

Saves one or more presets. A preset whose _version is 1 is inserted (a new _id is assigned if none was sent); a preset whose _version is greater than 1 updates the existing preset with that _id, and the sent _version must equal the stored _version plus one (otherwise the request fails with 400 VersionMismatch). The response carries the saved presets.

Supported context values are object and collection. Any other context value is rejected with status 400 (a generic ServerGeneric error).

Requires the system.rightpresetmanager right. Rejected with 400 (ReadOnlyMode) when the instance is in read-only mode.

Differs from easydb 5: saving presets can return a 202 confirmation step driven by the post-save collection-ACL re-validation (re-send with allow_invalid_acl=true or background_invalid_acl=true). easydb 5 documents only 200/400/500 for this save and no confirmation flow.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
contextstring · enumRequired

The context the presets apply to.

Possible values:
Query parameters
allow_invalid_aclbooleanOptional

When true, the post-save collection-ACL validity check does not raise an error if applying the presets would leave some collections with an invalid ACL; the save still persists.

Default: false
background_invalid_aclbooleanOptional

When true, the collection-ACL re-validation is queued as a background task instead of running synchronously, and the request returns immediately. This is the value the 202 confirmation button re-sends.

Default: false
background_invalid_acl_timelimitstringOptional

Go duration (for example 30s) overriding the synchronous time limit for the collection-ACL re-validation before a 202 is offered. The default limit is 30s.

Bodyobject · PresetApi[]

A right preset — a reusable bundle of ACL grants (and an optional tag filter) that can be applied to objects or collections. Presets live per context (object or collection).

_basetypestring · enumRequired

Fixed marker identifying this object as a right preset.

Possible values:
_created_atstring · date-timeOptional
_updated_atstring · date-timeOptional
Responses
200

The presets were saved.

application/json

A right preset — a reusable bundle of ACL grants (and an optional tag filter) that can be applied to objects or collections. Presets live per context (object or collection).

_basetypestring · enumRequired

Fixed marker identifying this object as a right preset.

Possible values:
_created_atstring · date-timeOptional
_updated_atstring · date-timeOptional
[
  {
    "_basetype": "right_preset",
    "right_preset": {
      "_id": 1,
      "_version": 1,
      "_position": 1,
      "displayname": {
        "de-DE": "Deutscher text",
        "en-US": "English text"
      },
      "description": {
        "de-DE": "Deutscher text",
        "en-US": "English text"
      },
      "preset": {
        "default_expiration_hours": 1,
        "share_url": "text",
        "rights": {
          "ANY_ADDITIONAL_PROPERTY": {
            "_grantable": true,
            "allow_update_and_remove": true,
            "classes": [
              "text"
            ],
            "extensions": [
              "text"
            ],
            "versions": [
              "text"
            ],
            "limit": 1,
            "mask_ids": {
              "ANY_ADDITIONAL_PROPERTY": []
            },
            "column_ids": [
              1
            ],
            "objecttype_ids": [
              1
            ],
            "pool_ids": [
              1
            ]
          }
        },
        "tagfilter": {
          "all": [
            1
          ],
          "any": [
            1
          ],
          "not": [
            1
          ],
          "changed": [
            1
          ]
        }
      }
    },
    "_created_at": "2026-01-01T00:00:00.000Z",
    "_updated_at": "2026-01-01T00:00:00.000Z"
  }
]

GET /right/{context}/presets/{presetId} — Retrieve a single right preset.

Retrieve a single right preset.

get

The matching preset is returned wrapped in a one-element array — the response is always an array. An unknown presetId yields an empty array [] with status 200, not a 404.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
contextstring · enumRequired

The context the preset applies to.

Possible values:
presetIdinteger · int64 · min: 1Required

The preset's _id.

Responses
200

The matching preset wrapped in a one-element array, or an empty array if no preset matches the id in this context.

application/json

A right preset — a reusable bundle of ACL grants (and an optional tag filter) that can be applied to objects or collections. Presets live per context (object or collection).

_basetypestring · enumRequired

Fixed marker identifying this object as a right preset.

Possible values:
_created_atstring · date-timeOptional
_updated_atstring · date-timeOptional
[
  {
    "_basetype": "right_preset",
    "right_preset": {
      "_id": 1,
      "_version": 1,
      "_position": 1,
      "displayname": {
        "de-DE": "Deutscher text",
        "en-US": "English text"
      },
      "description": {
        "de-DE": "Deutscher text",
        "en-US": "English text"
      },
      "preset": {
        "default_expiration_hours": 1,
        "share_url": "text",
        "rights": {
          "ANY_ADDITIONAL_PROPERTY": {
            "_grantable": true,
            "allow_update_and_remove": true,
            "classes": [
              "text"
            ],
            "extensions": [
              "text"
            ],
            "versions": [
              "text"
            ],
            "limit": 1,
            "mask_ids": {
              "ANY_ADDITIONAL_PROPERTY": []
            },
            "column_ids": [
              1
            ],
            "objecttype_ids": [
              1
            ],
            "pool_ids": [
              1
            ]
          }
        },
        "tagfilter": {
          "all": [
            1
          ],
          "any": [
            1
          ],
          "not": [
            1
          ],
          "changed": [
            1
          ]
        }
      }
    },
    "_created_at": "2026-01-01T00:00:00.000Z",
    "_updated_at": "2026-01-01T00:00:00.000Z"
  }
]

DELETE /right/{context}/presets/{presetId} — Delete a right preset.

Delete a right preset.

delete

Deletes the preset with the given _id. Deleting an unknown presetId is a no-op that still returns 200. If the preset is still referenced by any right row that is either not tied to a specific object or tied to a current (latest, non-deleted) object, the first request returns 202 instead of deleting; re-send with confirm=delete to confirm. On confirm the preset is removed and the database cascade deletes every right row that references it (including rows on archived object versions).

Requires the system.rightpresetmanager right. Rejected with 400 (ReadOnlyMode) when the instance is in read-only mode.

Differs from easydb 5: deleting a referenced preset returns a 202 confirmation step (re-send with confirm=delete) instead of deleting outright. easydb 5 documents only 200/400/500 for this delete and no confirmation flow.

Authorizations
AuthorizationstringRequired

Access token in the Authorization header: Authorization: Bearer <token>.

Path parameters
contextstring · enumRequiredPossible values:
presetIdinteger · int64 · min: 1Required
Query parameters
confirmstring · enumOptional

Set confirm=delete to confirm deletion of a preset that is still referenced by a right row; without it such a delete returns 202 instead of deleting. The 202's button re-sends this parameter.

Possible values:
Responses
200

The preset was deleted. Deleting an unknown presetId also returns this acknowledgement.

application/json
{
  "status": {
    "acknowledged": "ok"
  }
}

Last updated