A key has no permissions of its own. It uses the current role of the member who created it. See Authentication.
Roles#
| Role | Records |
|---|---|
| Owner, co-owner | Everything. |
| Member | All records, by default. |
| Custom role | Set per object: view, edit and delete each reach all records, the member's own records, or none. Single fields can be hidden or made read-only. |
A member's own records are those that name them in a Users field (such as an owner or assignee), and those they created that no Users field gives to someone else.
What the record endpoints do#
These rules apply to the object you are asking for, when you list, search, get, create, update, delete or restore its records.
| Situation | Answer |
|---|---|
| You can't view a record | It is left out of lists and search. Getting or changing it answers 404, as if it didn't exist. |
| You can view it but not change it | 403 |
| You send a field your role can't change | 403, naming the field |
| A field is hidden from your role | It is missing from values. Calculations on it are left out of aggregate results. |
Each record in a list or record response has canEdit and canDelete.
Where role rules don't apply#
For predictable behaviour, create integration keys as an owner or co-owner, and protect them accordingly.