CLICommand referencewebhook

webhook

Commands, arguments, and options for openship webhook.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship webhook

Manage incoming deploy and job webhooks

openship webhook [options] [command]
SubcommandPurpose
list [options]List a project's incoming webhooks
create [options] <file>Create a webhook; credentials in the result must be kept private
update [options] <id> <file>Update a webhook using the shared authorization rules
invoke [options] <id>Run this webhook's configured action as the current caller
rotate [options] <id>Rotate a webhook's credential
remove [options] <id>Remove a webhook
deliveries [options]Inspect webhook deliveries with cursor pagination

openship webhook create

Create a webhook; credentials in the result must be kept private

openship webhook create [options] <file>
ArgumentMeaning
fileJSON webhook definition
OptionMeaning
-p, --project <id>Project ID

openship webhook deliveries

Inspect webhook deliveries with cursor pagination

openship webhook deliveries [options]
OptionMeaning
-p, --project <id>Project ID
--hook <id>Only one webhook's deliveries
--cursor <cursor>Continue from the returned nextCursor
--limit <n>Page size (default: "50")

openship webhook invoke

Run this webhook's configured action as the current caller

openship webhook invoke [options] <id>
ArgumentMeaning
idWebhook ID
OptionMeaning
-p, --project <id>Project ID

openship webhook list

List a project's incoming webhooks

openship webhook list [options]
OptionMeaning
-p, --project <id>Project ID

openship webhook remove

Remove a webhook

openship webhook remove [options] <id>
ArgumentMeaning
idWebhook ID
OptionMeaning
-p, --project <id>Project ID
-y, --yesSkip confirmation

openship webhook rotate

Rotate a webhook's credential

openship webhook rotate [options] <id>
ArgumentMeaning
idWebhook ID
OptionMeaning
-p, --project <id>Project ID
-y, --yesSkip confirmation

openship webhook update

Update a webhook using the shared authorization rules

openship webhook update [options] <id> <file>
ArgumentMeaning
idWebhook ID
fileJSON webhook patch
OptionMeaning
-p, --project <id>Project ID

On this page