API Reference
Log In
API Reference

Update a Team

Update a team.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the team. Format: Revenium hashid (URL-safe encoded string).

Body Params
string
required

The name of the team

string

The team's external id

string

The team's logo

string

The team's address 1

string

The team's address 2

string

The team's city address

string

The team's state address

string

The team's country

string

The team's postal code

string

The team's billing phone number

string

The team's phone number

string

The team's contact email address

string

The team's remittance instructions

string

The team's website URL

string

The team's currency

string

The team's metadata (in key / value pairs)

domainAliases
array of strings

The team's domain aliases

domainAliases
types
array of strings
enum

The team type (array with single value). Teams must be type MANAGING, which represents internal business units or teams that manage consumer organizations and want to separate their usage and analytics by group. In the Revenium UI, MANAGING teams are displayed as 'Teams'. Note: If you attempt to create a team with type CONSUMING, it will create an organization instead (see /v2/api/organizations endpoint).

types
string

The unique identifier of the tenant that owns this team

string

Optional. Only provide this when creating a sub-team that will exist under another team in the hierarchy. Omit when creating a top-level team. Format: Revenium hashid (URL-safe encoded string).

boolean

Whether automatic discovery of data sources is enabled for this team. This should be set to true in most cases.

boolean

Whether prompt capture is enabled for this team. When enabled, prompts and completions are stored for observability. Can also be updated later via PUT /teams/{id}/settings/prompts.

boolean

Whether automatic discovery of metering element definitions is enabled for this tea. This should be set to true in almost all cases.

string

The email address for billing-related communications

string

The time period unit for holding invoices before processing

int64

The number of time periods to hold invoices before processing

boolean

Whether to use the V2 invoice data loading system for this team, value set automatically.

string

The unique identifier of the account configuration for this team

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/hal+json