API

DeviceProject

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
DELETE /api/v1/organizations/{organization_id}/devices/{device_registration_id}/projects/{id} remove Project removed

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

removed, err := client.DeviceProject(nil).Remove(map[string]any{"device_id": "example", "id": "example_id", "organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(removed)

Lua

Construct client as shown in the Lua setup, then call the operations:

local removed, err = client:DeviceProject():remove({ device_id = "example", id = "example_id", organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$client->DeviceProject()->remove(["device_id" => "example", "id" => "example_id", "organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

client.DeviceProject().remove({"device_id": "example", "id": "example_id", "organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

client.DeviceProject.remove({ "device_id" => "example", "id" => "example_id", "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

await client.DeviceProject().remove({ device_id: "example", id: "example_id", organization_id: "example" })

Fields

Field Type Required Description
id string No Id

remove

DELETE /api/v1/organizations/{organization_id}/devices/{device_registration_id}/projects/{id}

Operation ID: deviceProjectDestroy.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
device_registration_id path string Yes
id path string Yes

Responses

204: Project removed
401: Request refused or computer unavailable

application/json

Property Type Required Description
details array of string No
error string Yes
field_errors object No
403: Request refused or computer unavailable

application/json

Property Type Required Description
details array of string No
error string Yes
field_errors object No
404: Request refused or computer unavailable

application/json

Property Type Required Description
details array of string No
error string Yes
field_errors object No
503: Request refused or computer unavailable

application/json

Property Type Required Description
details array of string No
error string Yes
field_errors object No