Use this API to assign an asset to a profile.
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
assetIdsForProfile | Mandatory | String | The UUID of the asset you want to assign to the profile. |
API Request
curl -X POST <qualys_base_url>/
fim/v3/profiles/{profileId}/assets
-H 'authorization: Bearer <token>'
-H 'content-type: application/json'
-d @request.json
Contents of request.json:
{
"assetIdsForProfile": [
"asset uuid 1", “asset uuid2”
]
}
Response
{
"status": "ACTIVATED"
}