NNarya Developers
API referenceDevice set-up

Release a device from a product

DELETE
/integration/v1/devices/{id}/products/{product_code}

Ends a device's assignment to a product and clears its parameters for it.

The trading's enrollment stays active. Releasing a device that is not set up for the product also returns 204.

Authorization

integrationKey
headerAuthorizationBearer <token>

Your integration key, sent as Authorization: Bearer nik_<prefix>_<secret>. Narya issues it.

Path Parameters

id*string
Formatuuid
product_code*string
Match^[a-z][a-z0-9_]{0,63}$

Response Body

The device is released, or was not set up for the product

Example Request
curl -X DELETE 'https://api-narya-staging.pmadvisors.my/integration/v1/devices/497f6eca-6276-4993-bfeb-53cbbbba6f08/products/string'
Example Response
Empty