Get Registration Token By Id

Get Registration Token By Id
Get a sensor registration token

Get the token of specified id with manifest info.

Request
URI
GET
https://{api_host}/sensors/registration-tokens/{token-id}
COPY
Path Parameters
string
token-id
Required

Used to identify a registration token.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns SensorRegistrationTokenInfo of type(s) application/json
This response body class contains all of the following: InlineSensorRegistrationTokenInfo1
{
    "_create_user": "string",
    "_create_time": 0,
    "_last_modified_user": "string",
    "_last_modified_time": 0,
    "_revision": 0,
    "_resource_type": "string",
    "_system_owned": false,
    "id": "string",
    "display_name": "string",
    "description": "string",
    "site_ids": [
        "string"
    ],
    "allowed_instance_count": 0,
    "passphrase": "string",
    "device_type": "string",
    "status": "string",
    "registration_manifest": "string",
    "expiration": 0,
    "usage_count": 0,
    "number_available": 0
}

default

Error

Returns Error of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required

Message describing the error.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/sensors/registration-tokens/{token-id}