Skip to main content
PATCH
/
team
Update Team and Billing Information
curl --request PATCH \
  --url https://external.nectarclimate.com/v2/team \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "users": [
    "[email protected]"
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "email": "[email protected]",
  "users": [
    "<string>"
  ],
  "billing": {}
}

Authorizations

X-API-KEY
string
header
required

Body

Serializer for updating team members.

users
string<email>[]

List of email addresses of users belonging to the billing profile/team.

Minimum string length: 1

Response

Serializer for team member information.

id
string<uuid>
required

Unique identifier for the billing profile.

name
string
required

Name of the billing profile.

Maximum string length: 200
email
string<email>
required

Billing email associated with this profile. Should match associated Stripe Customer profile

Maximum string length: 254
users
string[]
required

List of email addresses of users associated with this billing profile.

billing
object
required

Comprehensive billing information including Stripe meter events, payment methods, billing profile details, and billing portal access.