Skip to main content
PATCH
/
team
/
{team_id}
Python (SDK)
import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    res = latitudesh.teams.update(team_id="7ee1a0d0-899d-42eb-99c9-4fb69ffab8f8", data={
        "id": "team_ZGPB1lbQ01hmeJZX92RyFBgxPBl",
        "type": latitudesh_python_sdk.PatchCurrentTeamTeamsType.TEAMS,
        "attributes": {
            "address": "Address",
            "name": "Name",
        },
    })

    # Handle response
    print(res)
{
  "data": {
    "id": "team_z3Qna7E2QRc3455EQ34JfAWNQ42",
    "type": "teams",
    "attributes": {
      "name": "Frami-Grady",
      "slug": "frami-grady",
      "address": "646 Vaughn Throughway",
      "currency": "TWD",
      "enforce_mfa": false,
      "referred_code": null
    }
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

team_id
string
required

Body

data
object
required

Response

200 - application/vnd.api+json

Success

data
object
I