Method: Fastly::ApexRedirectApi#update_apex_redirect

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

#update_apex_redirect(opts = {}) ⇒ ApexRedirect

Update an apex redirect Update an apex redirect by its ID.

Parameters:

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

    a customizable set of options

Options Hash (opts):

  • :apex_redirect_id (String) — default: required
  • :service_id (String)
  • :version (Integer)
  • :created_at (Time)

    Date and time in ISO 8601 format.

  • :deleted_at (Time)

    Date and time in ISO 8601 format.

  • :updated_at (Time)

    Date and time in ISO 8601 format.

  • :status_code (Integer)

    HTTP status code used to redirect the client.

  • :domains (Array<String>)

    Array of apex domains that should redirect to their WWW subdomain.

  • :feature_revision (Integer)

    Revision number of the apex redirect feature implementation. Defaults to the most recent revision.

Returns:



228
229
230
231
# File 'lib/fastly/api/apex_redirect_api.rb', line 228

def update_apex_redirect(opts = {})
  data, _status_code, _headers = update_apex_redirect_with_http_info(opts)
  data
end