Method: Fastly::VersionApi#update_service_version

Defined in:
lib/fastly/api/version_api.rb

#update_service_version(opts = {}) ⇒ VersionResponse

Update a service version Update a particular version for a particular service.

Parameters:

  • opts (Hash) (defaults to: {})

    a customizable set of options

Options Hash (opts):

  • :service_id (String)

    Alphanumeric string identifying the service. (required)

  • :version_id (Integer)

    Integer identifying a service version. (required)

  • :active (Boolean)

    Whether this is the active version or not. (default to false)

  • :comment (String)

    A freeform descriptive note.

  • :deployed (Boolean)

    Unused at this time.

  • :locked (Boolean)

    Whether this version is locked or not. Objects can not be added or edited on locked versions. (default to false)

  • :number (Integer)

    The number of this version.

  • :staging (Boolean)

    Unused at this time. (default to false)

  • :testing (Boolean)

    Unused at this time. (default to false)

Returns:



508
509
510
511
# File 'lib/fastly/api/version_api.rb', line 508

def update_service_version(opts = {})
  data, _status_code, _headers = update_service_version_with_http_info(opts)
  data
end