Skip to main content
PUT
Replace the organization's client hooks

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Path Parameters

orgSlug
string
required

Organization slug. Must be the organization of the caller's session.

Maximum string length: 64
Pattern: ^[a-zA-Z0-9_-]+$

Body

application/json
hooks
object[]
required

The whole list; [] removes every hook of this level.

Maximum array length: 10

Response

Saved. Returns the client hooks sent.

hooks
object[]
required