Create Sensor Registration Token
Allows generating a token with manifest info to register a sensor for a particular sensor group. Note: The minimum passphrase length for token is 15 characters for sensors. A token will be valid for only 30 minutes as an additional security measure.
Information for generating the token.
{
"display_name": "sensor",
"passphrase": "xxxxx",
"allowed_instance_count": 1,
"description": "Token for ndr sensor"
}
OK
{
"_create_time": 1778475285054,
"_create_user": "admin",
"_last_modified_time": 1778475285054,
"description": "Token for ndr sensor",
"display_name": "sensor",
"id": "366a0c3f-6a06-4c46-8de1-476ec7858c64",
"allowed_instance_count": 1,
"passphrase": "",
"expiration": 1778477083233,
"number_available": 1,
"registration_manifest": "xxxxx",
"status": "AVAILABLE",
"usage_count": 0
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error
{
"error_code": 0,
"module_name": "sensor",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
This operation contains the following vendor extensions defined in the spec:
["platform-sensor-lic"]
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/sensors/registration-tokens