Update event visibility settings
Sets the event visibility to public, unlisted, or private.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
eventId | stringRequired | path | - |
x-request-id | string | header | - |
if-match | stringRequired | header | - |
Request #
curl --request PATCH 'https://strave.gg/api/v2/events/EVENT_ID/settings/visibility' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response #
200Response for status 200201Response for status 201400Response 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 | - |
└resourceId | stringRequired | - |
└revision | integerRequired | - |
└updated | booleanRequired | - |
Cost #
1 API unit