Update a webhook endpoint
Updates the name, description, URL, subscribed events, or status of a webhook endpoint. The URL must use HTTPS and cannot contain credentials or a fragment.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
appId | stringRequired | path | - |
endpointId | stringRequired | path | - |
x-request-id | string | header | - |
if-match | stringRequired | header | - |
Request #
curl --request PATCH 'https://strave.gg/api/v2/developer/apps/APP_ID/webhook-endpoints/ENDPOINT_ID' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response #
200Response for status 200400Response for status 400401Response for status 401403Response for status 403404Response for status 404409Response for status 409412Response for status 412428Response for status 428429Response for status 429500Response for status 500503Response for status 503| Property | Type | Description |
|---|---|---|
data | objectRequired | - |
└id | stringRequired | - |
└applicationId | stringRequired | - |
└name | stringRequired | - |
└description | string | nullRequired | - |
└url | stringRequired | - |
└subscribedEvents | string[]Required | - |
└status | stringRequired | - |
└revision | integerRequired | - |
└createdAt | stringRequired | - |
└updatedAt | stringRequired | - |
Cost #
Free