Variables

Set a team variable

Creates or updates a team variable by name. The new value applies when a version next finalizes; live versions keep their sealed values.

put/v1/teams/{teamId}/variables/{name}

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/teams/{teamId}/variables/{name}
  • 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
namestring required

Request body

valuestring required
secretboolean required

Whether the value is write-only.

channelValuesobject

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.