Organizations

Set a team's default model

Changed on

Overrides the model new desktop chats start with for one team's members; null makes the team use the organization default again. A member on several teams whose overrides differ starts on the organization default. Only models the organization has are accepted. Requires the Manage OpenWork Models permission, a recent sign-in and the Organization default model feature.

put/v1/org/default-model/teams/{teamId}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

teamId, string typeid required

Den TypeID with 'tem_' prefix and a 26-character base32 suffix.

Request body

DefaultModelWrite required
model, DefaultModelChoice nullable required

Response

Default models saved.

DefaultModelSettings required
everyone, DefaultModelChoice nullable required
teams, DefaultModelTeam[] required
canEdit, boolean required

Changes