Skip to main content

Register device

POST 

https://apis.<domain>/ownerships

Authorization: http

name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`

Register device.

Authorization Action:

resource:devices:register

Request

Body

required
    deviceId stringrequired

    Identifier of the device for which ownership is requested (e.g. serial number)

Responses

Schema
    resourceId stringrequired

    The id of the created resource

curl -L -X POST 'https://apis.<domain>/ownerships' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"deviceId": "CTP-0139836"
}'
Request Collapse all
Base URL
https://apis.<domain>
Auth
Body required
{
"deviceId": "CTP-0139836"
}