Update team settings
Updates the team’s settings for Spaces and shared connectors atomically. Enterprise admins can set connectorsEnforcementPolicy with kind and connectors plus both policy revisions. Null removes a saved local policy, including after a downgrade or feature rollback. Parent policies cannot be overridden. Removal and empty blocklists require recent session identity confirmation.
/v1/teams/{teamId}/settingsAuthorizationBearer token · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
AuthorizationOAuth2 access token · headerrequiredOAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.
teams:createteamIdstringrequiredincludeInfraboolean | stringInclude live hosting capabilities. Set false to read only the stored settings, which skips the live capability lookup.
application/jsondefaultDataLocationstringDefault placement region for new spaces; "auto" lets placement decide.
connectorsServingobjectShow propertiesHide properties
adminOnlybooleanrequiredallowliststring[] | nullrequiredShow propertiesHide properties
stringstringnullconnectorsEnforcementPolicyobject | nullEnterprise connector allowlist or blocklist. Null removes the local policy. Requires both policy revisions; parent policies cannot be overridden. Session credentials require recent identity confirmation for removal or an empty blocklist.
Show propertiesHide properties
kindstringrequiredallowlistblocklistconnectorsstring[]requirednullconnectorsEnforcementPolicyRevisionintegerconnectorsEnforcementPolicyParentRevisioninteger | nullShow propertiesHide properties
integernullgithubPreviewCommentsEnabledbooleanControls GitHub preview comments for Spaces that use the team setting.
requireTwoFactorbooleanRequires 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.
spaceCreationAdminOnlybooleanWhen true, only the team's owners and admins can add new spaces to the team. This covers create, publish, claim, and the first push to a push remote (POST /v1/push-remotes). A member's transfer into the team also waits for an owner or admin to accept it. Members, and agents or API keys that act for a member, get 403 forbidden with details.teamSetting set to spaceCreationAdminOnly. Only owners and admins can change it. Spaces that already exist do not change.
customDomainsAdminOnlybooleanWhen true, only team owners and admins can add custom domains to the team's Spaces. Members cannot add or verify a custom domain.
subteamCreationAdminOnlybooleanWhen true, only the team's owners and admins can create subteams. Members, and agents or API keys that act for a member, get 403 forbidden with details.teamSetting set to subteamCreationAdminOnly. Only a team that can have subteams can change it.
wpCloudSettingsDefaultsobjectWP Cloud defaults inherited by the team's Spaces.
Show propertiesHide properties
default_php_connsstring | nullShow propertiesHide properties
stringnullburst_php_connsstring | nullShow propertiesHide properties
stringnullphp_memory_limitstring | nullShow propertiesHide properties
stringnullphp_fs_permissionsstring | nullShow propertiesHide properties
stringnullstatic_file_404string | nullShow propertiesHide properties
stringnullcanonicalize_aliasesstring | nullShow propertiesHide properties
stringnullspace_quotastring | nullShow propertiesHide properties
stringnullResponse 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.
dataobjectrequiredShow propertiesHide properties
connectorsServingobjectrequiredShow propertiesHide properties
adminOnlybooleanrequiredallowliststring[] | nullrequiredShow propertiesHide properties
stringstringnullconnectorsEnforcementPolicyobject | nullrequiredShow propertiesHide properties
kindstringrequiredallowlistblocklistconnectorsstring[]requirednullconnectorsEnforcementPolicyDetailsobjectAdmin-only effective policy, parent revisions and configured impact, requested with connectorPolicy=summary or catalog. Saved policies remain readable after an Enterprise downgrade or feature rollback.
Show propertiesHide properties
localPolicyobject | nullrequiredShow propertiesHide properties
kindstringrequiredallowlistblocklistconnectorsstring[]requirednulleffectivePolicyobject | nullrequiredShow propertiesHide properties
kindstringrequiredallowlistblocklistconnectorsstring[]requirednullcontrollingTeamobjectrequiredShow propertiesHide properties
idstringrequirednamestringrequiredslugstringrequiredinheritedbooleanrequiredrevisionintegerrequiredparentRevisioninteger | nullrequiredShow propertiesHide properties
integernullcatalogAliasesobject[]requiredShow propertiesHide properties
objectidstringrequiredallowlistIdsstring[]requiredblocklistIdsstring[]requiredconnectorsobject[]requiredShow propertiesHide properties
objectidstringrequiredtitlestringrequiredsurfacestringrequiredlogoUrlstring | nullrequiredgrantablebooleanrequiredchildrenobject[]requiredShow propertiesHide properties
objectidstringrequirednamestringrequiredslugstringrequiredpolicyobject | nullrequiredShow propertiesHide properties
kindstringrequiredallowlistblocklistconnectorsstring[]requirednullconfiguredobject[]requiredShow propertiesHide properties
objectteamIdstringrequiredconnectorIdstringrequiredconnectorSlugstringrequiredblocklistIdsstring[]requiredallowlistIdsstring[]requiredconnectionsintegerrequiredbindingsintegerrequiredspaceIdsstring[]requiredgithubPreviewCommentsEnabledbooleanControls GitHub preview comments for Spaces that use the team setting.
requireTwoFactorbooleanrequiredWhether every team member must have two-factor authentication on.
spaceCreationAdminOnlybooleanrequiredWhether only the team's owners and admins can add new spaces to the team.
customDomainsAdminOnlybooleanrequiredWhether only team owners and admins can add custom domains to the team's Spaces.
subteamCreationAdminOnlybooleanrequiredWhether only the team's owners and admins can create subteams.
teamIdstringrequiredThe team id the settings belong to.
wpCloudSettingsDefaultsobjectWP Cloud defaults inherited by the team's Spaces.
Show propertiesHide properties
default_php_connsstring | nullShow propertiesHide properties
stringnullburst_php_connsstring | nullShow propertiesHide properties
stringnullphp_memory_limitstring | nullShow propertiesHide properties
stringnullphp_fs_permissionsstring | nullShow propertiesHide properties
stringnullstatic_file_404string | nullShow propertiesHide properties
stringnullcanonicalize_aliasesstring | nullShow propertiesHide properties
stringnullspace_quotastring | nullShow propertiesHide properties
stringnulldefaultDataLocationstringrequiredDefault placement region for new spaces; "auto" lets placement decide.
regionOptionsobject[]Placement regions currently available for new spaces.
Show propertiesHide properties
objectidstringrequiredlabelstringrequiredinfraCapabilitiesobjectLive capabilities for the team's infra provider account. May be omitted when includeInfra is false or for connector-policy views and policy-only updates.
Show propertiesHide properties
datacentersobject[]requiredShow propertiesHide properties
objectidstringrequiredlabelstringrequiredphpVersionstringrequiredProblem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.
$schemastring<uri>Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.
typestringrequiredProblem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.
titlestringrequiredShort human-readable summary of the problem type. The server derives it mechanically from code.
statusintegerrequiredHTTP status code of this response, repeated in the body.
detailstringrequiredHuman-readable failure explanation for this occurrence.
codestringrequiredStable snake_case error code naming the failed public contract.
pointerstringRFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.
detailsobjectMachine-readable context for the error code.
fixstringOne sentence on what to do about this error code, the same text as the type page. Read it before retrying.
suggestionsstring[]Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.
nextstring[]Copy-pasteable commands or API requests an agent can run next.
requestIdstringrequiredThe request id to quote when contacting support.