Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Latest commit

 

History

History
67 lines (45 loc) · 1.51 KB

FdeApi.md

File metadata and controls

67 lines (45 loc) · 1.51 KB

JCAPIv2::FdeApi

All URIs are relative to https://console.jumpcloud.com/api/v2

Method HTTP request Description
systems_get_fde_key GET /systems/{system_id}/fdekey Get System FDE Key

systems_get_fde_key

Systemfdekey systems_get_fde_key(system_id, opts)

Get System FDE Key

This endpoint will return the current (latest) fde key saved for a system.

Example

# load the gem
require 'jcapiv2'
# setup authorization
JCAPIv2.configure do |config|
  # Configure API key authorization: x-api-key
  config.api_key['x-api-key'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['x-api-key'] = 'Bearer'
end

api_instance = JCAPIv2::FdeApi.new

system_id = "system_id_example" # String | 

opts = { 
  x_org_id: "" # String | 
}

begin
  #Get System FDE Key
  result = api_instance.systems_get_fde_key(system_id, opts)
  p result
rescue JCAPIv2::ApiError => e
  puts "Exception when calling FdeApi->systems_get_fde_key: #{e}"
end

Parameters

Name Type Description Notes
system_id String
x_org_id String [optional] [default to ]

Return type

Systemfdekey

Authorization

x-api-key

HTTP request headers

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