Update sharing restrictions settings for the workspace.
Workspaces
Update workspace restrictions
post
https://api.airtable.com/v0/meta/workspaces/{workspaceId}/updateRestrictions
Authentication | Personal access token, OAuth integration |
Scope | workspacesAndBases:write |
User role | Workspace creator |
Billing plans | Enterprise (pre-2023.08 legacy plan), Enterprise Scale |
optional< "unrestricted" | "onlyOwners" > | |
optional< "unrestricted" | "onlyOwners" > |
Response format
This endpoint returns an empty response on success.
Error responses
Not owner (403)
Only a workspace owner can perform this action.
{"error": {"message": "You are not permitted to perform this operation","type": "INVALID_PERMISSIONS"}}
Request (example)
Copy
$curl -X POST "https://api.airtable.com/v0/meta/workspaces/{workspaceId}/updateRestrictions" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \--data '{"inviteCreationRestriction": "onlyOwners"}'