Skip to content
Navigation

Rotate a trigger secret

POST
https://api.cloudraker.com/triggers/{triggerId}/rotate-secret
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • triggerId
    string
    required
    maxLength: 128 · pattern: ^trg_[A-Za-z0-9_-]+$

Request body JSON required

  • requestId
    string
    required
    maxLength: 200 · minLength: 1

Returns

200

The one-time replacement secret.

JSON
  • data
    object
    required
    • secret
      string
      required
    • secretPreview
      string
      required

400

validation_failed: a request parameter or body field is invalid.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

404

not_found — No such trigger, or the caller may not see it.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

409

trigger_conflict — that webhook address or email address is already used in this organization, or a channel key rotation is unsettled; trigger_limit — 50 enabled triggers is the maximum; trigger_migration_in_progress — a legacy transfer still owns this source.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close