v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Auth

Update organization plugin configuration

Updates the organization plugin configuration for Neon Auth. The organization plugin enables multi-tenant organization support.

patch/projects/{project_id}/branches/{branch_id}/auth/plugins/organization

Request body

enabledboolean

Whether the organization plugin is enabled

organization_limitinteger

Maximum number of organizations a user can create

membership_limitinteger

Maximum number of members per organization

creator_role'admin' | 'owner'

The role assigned to the user who creates an organization

send_invitation_emailboolean

Whether to send invitation emails when inviting members to an organization

Response

The organization plugin configuration has been updated

enabledboolean required

Whether the organization plugin is enabled

organization_limitinteger required

Maximum number of organizations a user can create

membership_limitinteger required

Maximum number of members per organization

creator_role'admin' | 'owner' required

The role assigned to the user who creates an organization

send_invitation_emailboolean required

Whether to send invitation emails when inviting members to an organization