HookRules

Create a hook rule

A patch naming a forbidden field (lifecycle, scope, tenantId, origin and the rest of the T916 forbidden list) or a reserved __ metadata key is refused here, at save time. Patterns use a linear-time subset (no anchors, backreferences or lookaround).

post/api/hook-rules

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/hook-rules
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

namestring required
enabledboolean
priorityinteger

Response

Created rule.

namestring required
enabledboolean
priorityinteger
idinteger
createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.