Skip to main content
Update a shared team

Authorizations

Authorization
string
header
required

Personal API key. Send X-Organization-Id. The required cumulative level is listed in x-watchdog-permission.

Headers

X-Organization-Id
string

Required for personal API keys. Target one organization you have access to. Migrated keys may omit it to use their original organization. For Clerk sessions, it must match the active organization.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
Required string length: 1 - 100
filter
object | null

Omit to preserve the filter on PATCH, send null to clear it, or supply a complete version-1 definition to replace it. No saved filter matches no records.

Response

Shared team with its saved filter, including invalid legacy JSON.

id
string<uuid>
required
name
string
required
references
object[]
required
filter
any
required

Saved subscription filter JSON, shared by teams and personal notification sources. Teams return it verbatim, including null or invalid legacy definitions; notification sources include only usable filters. Use TeamFilterDefinition to author a replacement.

created_at
string<date-time>
required
updated_at
string<date-time>
required