Create a New ACR Connector

Creates a new ACR connector.

POST/v1.3/registry/acr/connector

Request Body ParametersRequest Body Parameters

Parameter

Mandatory/Optional

Data Type

Description

applicationId

Mandatory

string

Provide the Azure application ID.

clientSecret

Mandatory

string

Provide the Azure client secret.

name

Mandatory

string

Connector name.

description

Optional

string

Connector description.

SampleSample

API request

    curl -X POST 
"<qualys_base_url>/csapi/v1.3/registry/acr/connector" 
-d "{"applicationId":"66f9c9bf-9b04-4631-bb64-d0abfa44e6f6", "clientSecret":"Q]_RHUUGbgtCgQd8DWS8U6UJl8sTqK]=", "description":"This is a new connector for ACR", "name":"New ACR connector 4"}" --header "Authorization: Bearer <token>"
    

Response

    response code 200
{
    "name": "New ACR connector 4",
    "description": "This is a new connector for ACR",
    "acrConnectorId": "66f9c9bf-9b04-4631-bb64-d0abfa44e6f6"
}