Authorizations
Path Parameters
Body
Response
200 - application/vnd.api+json
Success
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": {}
}
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": {}
}
Show child attributes
Success
Show child attributes
Was this page helpful?