Assign a Configuration to a Container

Assigns a specific configuration to a container.

POST/csapi/v1.3/runtime/containers/{containerSha}/configs/{configId}

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description

containerSha

Mandatory string

Specify the SHA value of the container that you’re assigning the configuration to.

configId

Mandatory string

Specify the ID of the configuration you want to assign to the container.

SampleSample

API request

    curl --location --request POST "<qualys_base_url>/csapi/v1.3/runtime/containers/7113e5aa32875169d41d168a871ca17a510663a6c0ea0e3a9ba03d0eea00cff6/configs/5e7df4f14b89300001cde5cb"
--header "Authorization: Bearer <token>"
    

Response

    Response code 200 
    

 

 

Was this topic helpful?

success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.