Download a Device Claim Script.

Prev Next
Get
/device-scripts/download/{id}

Download the raw script.

Security
HTTP
Type bearer
Path parameters
id
string (uuid) Required

ID of the object.

Example12699e27-b584-464a-81ee-5b4784b6d425
Responses
200

Device Claim Script including the binary.

object
name
string

Name of the Device Claim Script object.

ExampleAntivirusCheck
filename
string

The name of the file to be downloaded as to the client devices.

Exampleav_check.exe
file
string (byte)

The Device Claim Script binary in Base64 format.

401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

403

Insufficient permissions to access this resource.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

404

The requested resource can not be found.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

406

Invalid 'Accept' header.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.