Credit access policies
Create credit access assignment
Create credit access assignment.
POST
Create credit access assignment
The organization bot token must have the following scopes:
credit-limit-policy:write
selector. Each selector has at most one assignment in a workspace. If the selector is already assigned to another policy, this request moves it to the policy in the path.
A member can match more than one assignment. Notion applies them in this order:
- A
userassignment for the member wins over every other assignment. - Otherwise, the highest limit among the member’s
space_permission_groupandscim_attributeassignments applies.unlimitedis highest andno_accessis lowest. - Otherwise, the
all_space_membersassignment applies.
user_id must belong to a workspace member, and the group_id must belong to a permission group in the workspace. Otherwise the request returns a 404 error.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The Admin API version to use for this request.
Available options:
2026-06-01 Path Parameters
ID of the policy to assign.
Body
application/json
Who the policy applies to. If this selector is already assigned to another policy, the request moves it to this policy.
- Option 1
- Option 2
- Option 3
- Option 4
Response
Always credit_access_policy_assignment
Allowed value:
"credit_access_policy_assignment"ID of the assignment.
ID of the workspace the assignment belongs to.
Changes every time the assignment changes. Pass it as expected_version to delete the assignment.
ID of the assigned policy.
Who the policy applies to.
- Option 1
- Option 2
- Option 3
- Option 4