Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 2.09 KB

InstallationTokensSettings.md

File metadata and controls

77 lines (53 loc) · 2.09 KB

Falcon::InstallationTokensSettings

All URIs are relative to https://api.us-2.crowdstrike.com

Method HTTP request Description
customer_settings_update PATCH /installation-tokens/entities/customer-settings/v1 Update installation token settings.

customer_settings_update

customer_settings_update(body)

Update installation token settings.

Examples

require 'time'
require 'crimson-falcon'

# Setup authorization
Falcon.configure do |config|
  config.client_id = "Your_Client_ID"
  config.client_secret = "Your_Client_Secret"
  config.cloud = "us-1" # or "us-2", "eu-1", "us-gov1"
end

api_instance = Falcon::InstallationTokensSettings.new
body = Falcon::ApiCustomerSettingsPatchRequestV1.new # ApiCustomerSettingsPatchRequestV1 | 

begin
  # Update installation token settings.
  result = api_instance.customer_settings_update(body)
  p result
rescue Falcon::ApiError => e
  puts "Error when calling InstallationTokensSettings->customer_settings_update: #{e}"
end

Using the customer_settings_update_with_http_info variant

This returns an Array which contains the response data, status code and headers.

<Array(, Integer, Hash)> customer_settings_update_with_http_info(body)

begin
  # Update installation token settings.
  data, status_code, headers = api_instance.customer_settings_update_with_http_info(body)
  p status_code # => 2xx
  p headers # => { ... }
  p data # => <MsaspecQueryResponse>
rescue Falcon::ApiError => e
  puts "Error when calling InstallationTokensSettings->customer_settings_update_with_http_info: #{e}"
end

Parameters

Name Type Description Notes
body ApiCustomerSettingsPatchRequestV1

Return type

MsaspecQueryResponse

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json