Web API

Press shift + S to search API reference.

Workspaces

Update workspace restrictions

posthttps://api.airtable.com/v0/meta/workspaces/{workspaceId}/updateRestrictions

Update sharing restrictions settings for the workspace.

Requirements

AuthenticationPersonal access token, OAuth integration
ScopeworkspacesAndBases:write
User role

Workspace creator

Billing plansEnterprise (pre-2023.08 legacy plan), Enterprise Scale

Path parameters

workspaceId
string

Request body

inviteCreationRestriction
optional<"unrestricted" | "onlyOwners">
shareCreationRestriction
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"
}'