Attach a Sensor Profile to a Sensor

Use this API to attach a sensor profile to the sensor of the corresponding type.

PUT/v1.3/sensors/{sensorId}/profile/{profileId}/attach

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

sensorId

Mandatory

string

Specify the ID of a sensor to which the sensor profile will be attached.

profileId

Mandatory

string

Specify the ID of the sensor profile that will be attached to the sensor.

SampleSample

API request

  curl -X PUT
"<qualys_base_url>/csapi/v1.3/sensors/f1edef37-8d72-4f5d-87ed-9d6da981cffe/profile/6963d471-7598-4d4d-b95ce540c75745b2/attach" 
-H "accept: application/json" 
-H "Authorization: Bearer <token>"

Response

    200 OK