Update Profile Priority 

PUT/caui/v1/config-profiles/priority

This API updates the priority of the selected configuration profile. 

Permissions required - Managers with full scope. Other users must have these permissions: Access Permission API Access and create, view, and edit configuration profile permissions. 

Input ParametersInput Parameters

The following are the input parameters for the Update Profile Priority API.

Parameter Optional/ Mandatory Data Type Description
profileId Mandatory Integer Use this parameter to change the priority of a profile.
priority Mandatory Integer This parameter defines the priority of the configuration profile.

Sample - Change the priority of the Configuration ProfileSample - Change the priority of the Configuration Profile

API Request


      curl --location --request PUT '
<qualys_base_url>/caui/v1/config-profiles/priority' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <JWT Token>' \ --data ''

Request Body

{
    "profileId":1234567,
    "priority": 2
}

 API Response

200 Ok