Skip to content

Latest commit

 

History

History
163 lines (95 loc) · 5.1 KB

DeviceSecretsApi.md

File metadata and controls

163 lines (95 loc) · 5.1 KB

DeviceSecretsApi

All URIs are relative to **

Method HTTP request Description
getActivationLockBypassCode GET /api/v1/devices/{device_id}/secrets/bypasscode Get Activation Lock Bypass Code
getFilevaultRecoveryKey GET /api/v1/devices/{device_id}/secrets/filevaultkey Get FileVault Recovery Key
getRecoveryLockPassword GET /api/v1/devices/{device_id}/secrets/recoverypassword Get Recovery Lock Password
getUnlockPin GET /api/v1/devices/{device_id}/secrets/unlockpin Get Unlock Pin

getActivationLockBypassCode

Get Activation Lock Bypass Code

This request allows you to retrieve the Activation Lock Bypass code.

user_based_albc is the user-based Activation Lock bypass code for when Activation Lock is enabled using an personal Apple ID and Find My.

device_based_albc is the device-based Activation Lock bypass code for when Activation Lock is enabled by the MDM server.

Request Parameters

device_id (path parameter): The unique identifier of the device.

Example

kandji getActivationLockBypassCode device_id=value

Parameters

Name Type Description Notes
deviceId string [default to null]

Return type

DeviceSecretsGetActivationLockBypassCode200Response

Authorization

bearer

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getFilevaultRecoveryKey

Get FileVault Recovery Key

This request allows you to retrieve the FileVault Recovery key for a macOS device.

Request Parameters

device_id (path parameter): The unique identifier of the device.

Example

kandji getFilevaultRecoveryKey device_id=value

Parameters

Name Type Description Notes
deviceId string [default to null]

Return type

DeviceSecretsGetFilevaultRecoveryKey200Response

Authorization

bearer

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getRecoveryLockPassword

Get Recovery Lock Password

This request returns the Recovery Lock password for a Mac with an Apple Silicon processor and the legacy EFI firmware password for a Mac with an Intel processor.

For more details on setting and managing Recovery passwords, see this Kandji support article.

Request Parameters

device_id (path parameter): The unique identifier of the device.

Example

kandji getRecoveryLockPassword device_id=value

Parameters

Name Type Description Notes
deviceId string [default to null]

Return type

DeviceSecretsGetRecoveryLockPassword200Response

Authorization

bearer

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getUnlockPin

Get Unlock Pin

This request allows you to retrieve the device unlock pin for a macOS device.

Request Parameters

device_id (path parameter): The unique identifier of the device.

Example

kandji getUnlockPin device_id=value

Parameters

Name Type Description Notes
deviceId string [default to null]

Return type

DeviceSecretsGetUnlockPin200Response

Authorization

bearer

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]