Skip to content

Files

Latest commit

677372e · Feb 10, 2025

History

History
99 lines (59 loc) · 2.35 KB

devicepinners.md

File metadata and controls

99 lines (59 loc) · 2.35 KB

DevicePinnersManager

Get device pin

Retrieves information about an individual device pin.

This operation is performed by calling function getDevicePinnerById.

See the endpoint docs at API Reference.

client.getDevicePinners().getDevicePinnerById(devicePinnerId)

Arguments

  • devicePinnerId String
    • The ID of the device pin Example: "2324234"
  • headers GetDevicePinnerByIdHeaders
    • Headers of getDevicePinnerById method

Returns

This function returns a value of type DevicePinner.

Returns information about a single device pin.

Remove device pin

Deletes an individual device pin.

This operation is performed by calling function deleteDevicePinnerById.

See the endpoint docs at API Reference.

client.getDevicePinners().deleteDevicePinnerById(devicePinnerId)

Arguments

  • devicePinnerId String
    • The ID of the device pin Example: "2324234"
  • headers DeleteDevicePinnerByIdHeaders
    • Headers of deleteDevicePinnerById method

Returns

This function returns a value of type void.

Returns an empty response when the pin has been deleted.

List enterprise device pins

Retrieves all the device pins within an enterprise.

The user must have admin privileges, and the application needs the "manage enterprise" scope to make this call.

This operation is performed by calling function getEnterpriseDevicePinners.

See the endpoint docs at API Reference.

client.getDevicePinners().getEnterpriseDevicePinners(enterpriseId)

Arguments

  • enterpriseId String
    • The ID of the enterprise Example: "3442311"
  • queryParams GetEnterpriseDevicePinnersQueryParams
    • Query parameters of getEnterpriseDevicePinners method
  • headers GetEnterpriseDevicePinnersHeaders
    • Headers of getEnterpriseDevicePinners method

Returns

This function returns a value of type DevicePinners.

Returns a list of device pins for a given enterprise.