Team
Update Team
Changed onList all teams for the current account
put/teams/{id}
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body
Example request
{
"team": {
"team": {
"name": "Example Team",
"time_zone": "Pacific Time (US & Canada)",
"locale": "en"
}
}
}Response
OK
Example response
{
"id": 42000,
"public_id": "ClNcfI",
"name": "Example Team",
"time_zone": "Pacific Time (US & Canada)",
"locale": "en",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"billing_subscriptions": [
{
"id": 8000,
"public_id": "SbTcfQ",
"team_id": 42000,
"status": "active",
"cycle_ends_at": "2025-02-01T00:00:00.000Z",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"included_prices": [
{
"id": 9000,
"subscription_id": 8000,
"price_id": "price_basic_monthly",
"quantity": 1,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]
}
],
"memberships": [
{
"id": 5000,
"public_id": "MbRcfK",
"team_id": 42000,
"user_id": 1,
"user_first_name": "Lili",
"user_last_name": "Stiedemann",
"user_profile_photo_id": null,
"user_email": "test@email.com",
"added_by_id": null,
"platform_agent_of_id": null,
"role_ids": [
"admin"
],
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"user": {
"id": 1,
"public_id": "prbtEx",
"email": "test@email.com",
"first_name": "Lili",
"last_name": "Stiedemann",
"time_zone": "Pacific Time (US & Canada)",
"locale": "en",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
}
]
}Changes
- breaking
removed the enum value
ptof the request property/ - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
removed the
ptenum value from theresponse property for the response status
- breaking