clubs
Update club
Requires an admin or a current leader of this club. Cookie-authenticated writes must send Content-Type: application/json and an Origin exactly matching the configured AUTH_ISSUER_URL origin (https://auth.myltv.cloud in production). Missing headers or a cross-site origin return 403 Forbidden. OAuth bearer callers use Authorization: Bearer ... and are not subject to this cookie-session check. WordPress service credentials cannot update club metadata.
put/clubs/{id}
Request
- Base URL: https://api.leisurevans.com
- URL: https://api.leisurevans.com/clubs/{id}
- Auth: one of:
- API key in cookie myltv.session_token
- HTTP bearer
Path parameters
idstring required
Canonical club UUID, slug or numeric legacy WordPress ID.
Request body
Response
Updated club response.
Example response
{
"data": {
"id": "14ba0c2d-27f9-4de1-927c-4d8d6da5480a",
"legacyWpId": 286,
"slug": "carolina-ltvers",
"name": "Carolina LTV'ers",
"territories": [
"US-NC",
"US-SC"
],
"description": "Regional owners club serving North and South Carolina.",
"coverPhotoUrl": "https://admin.myltv.cloud/wp-content/uploads/2016/12/travelersclub-carolinaltvers-feature.jpg",
"logoUrl": "https://admin.myltv.cloud/wp-content/uploads/2016/12/Carolina-LTVers-Logo-Filled.png",
"color": "#ce93d8",
"clubLink": "https://www.facebook.com/groups/495256330836508/"
},
"requestId": "0d8b5744-7544-4bb0-8f95-65be635315d8"
}Changes
No recorded changes to this operation across all 1 revision of this API.