Skip to main content

Consult and Deactivate Entities

Retrieve specific Device

To retrieve a specific Device, simply perform a GET request. The returned result is the most up-to-date JSON of the Device in question. If this identifier is not related to any object, HTTP Status 404 is returned.

GET https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}/device/{device_id}

curl "[https://api.caas.qitech.app/device_manager/account/](https://api.caas.qitech.app/device_manager/account/){account_id}/person/{person_id}/device/{device_id}"
-H "Authorization: EXAMPLE-OF-API-KEY"

List Devices

To retrieve multiple devices, simply perform a GET request. The returned result is a JSON with a list of basic information for all of a user's devices.

GET https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}/devices

curl "https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}/devices"
-H "Authorization: EXAMPLE-OF-API-KEY"

Deactivate specific Device

To deactivate a specific Device, simply perform a DELETE request. If this identifier is not related to any object, HTTP Status 404 is returned. Once a device is deactivated, it can no longer be validated.

DELETE https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}/device/{device_id}

curl -X DELETE "https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}/device/{device_id}" \
-H "Authorization: EXAMPLE-OF-API-KEY"

Retrieve specific Account

Allows retrieving data for an account by its identifier. Returns the account details, or 404 if it does not exist.

GET https://api.caas.qitech.app/device_manager/account/{account_id}

curl "https://api.caas.qitech.app/device_manager/account/{account_id}" \
-H "Authorization: EXAMPLE-OF-API-KEY"

Retrieve specific Person

Allows retrieving data for a specific person within an account. Returns the updated person data, or 404 if it does not exist.

GET https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}

curl "https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}" \
-H "Authorization: EXAMPLE-OF-API-KEY"

Deactivate Account

Performs the deactivation of an account. Once deactivated, the account can no longer be used for registering or validating devices.

DELETE https://api.caas.qitech.app/device_manager/account/{account_id}

curl -X DELETE "https://api.caas.qitech.app/device_manager/account/{account_id}" \
-H "Authorization: EXAMPLE-OF-API-KEY"

Deactivate Person

Performs the deactivation of a person within an account. Once deactivated, the person can no longer register or validate devices.

DELETE https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}

curl -X DELETE "https://api.caas.qitech.app/device_manager/account/{account_id}/person/{person_id}" \
-H "Authorization: EXAMPLE-OF-API-KEY"