API Reference
Command
Set-AppStoreConnectWebhook
Updates an App Store Connect webhook.
Remarks
Updates an App Store Connect webhook.
Examples
EXAMPLE 1
Set-AppStoreConnectWebhook -IssuerId $issuerId -KeyId $keyId -PrivateKeyPath './AuthKey.p8' -WebhookId 'webhook-id' -Name 'Build status' -Url 'https://releases.example.com/apple/webhook' -Secret 'a-strong-webhook-secret' -EventType 'BUILD_UPLOAD_STATE_UPDATED'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Set-AppStoreConnectWebhook [-Enabled <Boolean>] -EventType <String[]> -IssuerId <String> -KeyId <String> -Name <String> [-PrivateKey <String>] [-PrivateKeyPath <String>] -Secret <String> [-TokenLifetimeMinutes <Int32>] -Url <String> -WebhookId <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Enabled Boolean
- Whether Apple should deliver events.
- EventType String[]
- App Store Connect event types.
- IssuerId String
- App Store Connect API issuer id.
- KeyId String
- App Store Connect API key id.
- Name String
- Webhook display name.
- PrivateKey String
- Private key text in PEM format.
- PrivateKeyPath String
- Private key file path.
- Secret String
- Replacement HMAC signing secret. The cmdlet never writes it to output.
- TokenLifetimeMinutes Int32
- JWT token lifetime in minutes.
- Url String
- Public HTTPS receiver URL.
- WebhookId String
- Webhook resource id.
Outputs
PowerForge.AppStoreConnectWebhookInfo