Teams

Update team settings

Updates the team's settings for Spaces and shared connectors.

patch/v1/teams/{teamId}/settings

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/teams/{teamId}/settings
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.spacefast.com/v1/auth/oauth2/authorize, token URL https://api.spacefast.com/v1/auth/oauth2/token; client credentials, token URL https://api.spacefast.com/v1/auth/oauth2/token, scopes: teams:create)

Path parameters

teamIdstring required

Request body

defaultDataLocationstring

Default placement region for new spaces; "auto" lets placement decide.

githubPreviewCommentsEnabledboolean

Controls GitHub preview comments for Spaces that use the team setting.

requireTwoFactorboolean

Requires every team member to have two-factor authentication on. Only a team owner can change it, and it can only be turned on once every current member has two-factor on.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

No recorded changes to this operation across all 1 revision of this API.