Set API key collection scoping
Set API Key Collections
Scope an API key to specific collections
PUT
Set API key collection scoping
Restrict an API key to only access specific collections. This is useful for creating scoped keys for third-party integrations or limiting access in multi-tenant setups.
- This is a Pro-only feature
- Pass an empty
collection_idsarray to remove all collection restrictions - The scoped key will only be able to access the specified collections
Create API Key
Generate a new API key
List API Keys
View all API keys
Authorizations
API key for authentication (sk-xxx format)
Body
application/json