v1

latestOpenAPI 3.0.12026-07-1714724311.1 KB
Permissions

Update Multiple Permissions

Update multiple permissions at the same time.

patch/permissions

Query parameters

fieldsstring[]

Control what fields are being returned in the object.

limitinteger

A limit on the number of objects that are returned.

metastring

What metadata to return in the response.

offsetinteger

How many items to skip when fetching data.

sortstring[]

How to sort the returned items. sort is a CSV of fields used to sort the fetched items. Sorting defaults to ascending (ASC) order but a minus sign (-) can be used to reverse this to descending (DESC) order. Fields are prioritized by their order in the CSV. You can also use a ? to sort randomly.

Select items in collection by given conditions.

searchstring

Filter by items that contain the given search query in one of their fields.

Request body

keysstring[]

Example request

{
  "data": {
    "collection": "customers",
    "role": 3,
    "read_field_blacklist": [
      "featured_image"
    ]
  }
}

Response

Successful request

Example response

{
  "data": [
    {
      "id": 1,
      "collection": "customers",
      "action": "create"
    }
  ]
}