team management

Team Member Update

[BETA]

Update team member budgets and team member role

post/team/member_update

Request body

user_idstring nullable
user_emailstring nullable
team_idstring required
max_budget_in_teamnumber nullable
role'admin' | 'user' nullable
tpm_limitinteger nullable

Tokens per minute limit for this team member

rpm_limitinteger nullable

Requests per minute limit for this team member

budget_durationstring nullable

Duration after which this team member's budget resets (e.g. '1h', '24h', '7d', '30d'). If not set, the budget never resets.

allowed_modelsstring[] nullable

List of models this team member can access. Pass an empty list to remove per-member model restrictions.

Response

Successful Response

user_idstring required
user_emailstring nullable
team_idstring required
max_budget_in_teamnumber nullable
tpm_limitinteger nullable
rpm_limitinteger nullable
budget_durationstring nullable
allowed_modelsstring[] nullable

Changes

Changed in 1 of the 42 revisions of this API.4

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog