Team Settings

Update team settings

Changed on

Updates the visibility settings for a team in the workspace

patch/workspaces/{workspaceSlug}/teams/{teamId}/settings

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/teams/{teamId}/settings
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

teamIdinteger required

the team ID

Request body

hiddenboolean required

Whether the team should be hidden from workspace activity

Response

Team settings updated

hiddenboolean required

Whether the team is hidden from workspace activity

teamIdinteger required

The team ID these settings apply to

workspaceIdinteger required

The workspace ID these settings belong to

Changes

    • breaking

      for the path request parameter workspaceSlug, the minLength was increased from 0 to 3

    • warning

      for the path request parameter workspaceSlug, the maxLength was set to 51

    • warning

      changed the pattern of the path request parameter workspaceSlug from ^[a-z0-9][a-z0-9-]{2,50}$ to ^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$