Sonatype Configure Artifactory Connection API

Use this REST API to manage the configuration of Firewall for JFrog Artifactory.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId} Get an owner's Artifactory connection · Get owner artifactory connection #
Ask an LLM
“What Artifactory connection is configured for a given owner?”
“Can I see inherited Artifactory connection details for an owner?”
Tell an agent
Show the Artifactory connection for {ownerType} {internalOwnerId}.
Get the {ownerType} {internalOwnerId} Artifactory connection including inherited settings.
POST /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId} Add an Artifactory connection · Add artifactory connection #
Ask an LLM
“How do I connect a new Artifactory server to IQ?”
“Can I add an Artifactory connection for a specific owner?”
Tell an agent
Add an Artifactory connection to {ownerType} {internalOwnerId} at {baseUrl} with username {username}.
Create a new Artifactory connection for {ownerType} {internalOwnerId} using password {password}.
PUT /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId} Enable or disable an owner's Artifactory connection · Update owner artifactory connection status #
Ask an LLM
“How do I turn off Artifactory scanning for an owner?”
“Can I temporarily disable an existing Artifactory connection?”
Tell an agent
Set the Artifactory connection for {ownerType} {internalOwnerId} enabled to {enabled}.
Disable the Artifactory connection on {ownerType} {internalOwnerId}.
POST /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/test Test an owner's Artifactory connection · Test artifactory connection #
Ask an LLM
“Can I check that an Artifactory connection works before saving it?”
“What does IQ report when a new Artifactory connection test fails?”
Tell an agent
Test the Artifactory connection for {ownerType} {internalOwnerId} at {baseUrl} with username {username}.
Run a connection test on {ownerType} {internalOwnerId} using password {password}.
DELETE /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/{artifactoryConnectionId} Delete an Artifactory connection · Delete artifactory connection #
Ask an LLM
“How do I remove an Artifactory connection from an owner?”
“Can I delete an Artifactory connection I no longer use?”
Tell an agent destructive · confirm first
Delete Artifactory connection {artifactoryConnectionId} from {ownerType} {internalOwnerId}.
Remove the Artifactory connection {artifactoryConnectionId} on {ownerType} {internalOwnerId}.
GET /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/{artifactoryConnectionId} Get an Artifactory connection · Get artifactory connection #
Ask an LLM
“What URL and username does a specific Artifactory connection use?”
“Can I look up one Artifactory connection by its ID?”
Tell an agent
Show Artifactory connection {artifactoryConnectionId} for {ownerType} {internalOwnerId}.
Get the details of Artifactory connection {artifactoryConnectionId} on {ownerType} {internalOwnerId}.
PUT /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/{artifactoryConnectionId} Update an Artifactory connection · Update artifactory connection #
Ask an LLM
“How do I change the URL of an existing Artifactory connection?”
“Can I rotate the username on an Artifactory connection?”
Tell an agent
Change the URL of Artifactory connection {artifactoryConnectionId} on {ownerType} {internalOwnerId} to {baseUrl}.
Update the username on Artifactory connection {artifactoryConnectionId} for {ownerType} {internalOwnerId} to {username}.
POST /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/{artifactoryConnectionId}/test Test an existing Artifactory connection · Test artifactory connection 1 #
Ask an LLM
“Can I verify an Artifactory connection using its connection ID?”
“What does IQ report when an existing Artifactory connection test succeeds?”
Tell an agent
Test Artifactory connection {artifactoryConnectionId} on {ownerType} {internalOwnerId}.
Run a connection test on existing Artifactory connection {artifactoryConnectionId} for {ownerType} {internalOwnerId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sonatype:sonatype-configure-artifactory-connection-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sonatype-configure-artifactory-connection-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonatype Configure Artifactory Connection API
  version: '1.0'
  description: 'Operations tagged Configure Artifactory Connection across 2 of this provider''s published API definitions: sonatype-lifecycle-openapi.yml, sonatype-iq-openapi.yml. Each path carries the servers of the definition it was published in.'
security:
- BasicAuth: []
  BearerAuth: []
tags:
- description: Use this REST API to manage the configuration of Firewall for JFrog Artifactory.
  name: Configure Artifactory Connection
paths:
  /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}:
    get:
      description: 'Use this method to retrieve Artifactory connection details by specifying the owner Id.


        Permissions required: View IQ Elements'
      operationId: getOwnerArtifactoryConnection
      parameters:
      - description: Select the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      - description: Specify whether to include details from an inherited Artifactory connection.
        in: query
        name: inherit
        schema:
          default: false
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiOwnerArtifactoryConnectionDTO'
          description: The response contains the details of the Artifactory connection.
      tags:
      - Configure Artifactory Connection
      summary: Get owner artifactory connection
      x-summary-source: derived
    post:
      description: 'Use this method to add a new Artifactory connection.


        Permissions required: Edit IQ Elements'
      operationId: addArtifactoryConnection
      parameters:
      - description: Select the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiArtifactoryConnectionDTO'
        description: Enter values for the new Artifactory connection.<ul><li>`isAnonymous` indicates if the connection is anonymous.</li><li>`baseUrl` is the baseURL of the Artifactory instance.</li><li>`username` and `password` to authenticate the Artifactory connection.</li></ul>
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiArtifactoryConnectionDTO'
          description: The response contains the details of the added Artifactory connection.
      tags:
      - Configure Artifactory Connection
      summary: Add artifactory connection
      x-summary-source: derived
    put:
      description: 'Use this method to enable/disable an existing Artifactory connection for the specified owner.


        Permissions required: Edit IQ Elements'
      operationId: updateOwnerArtifactoryConnectionStatus
      parameters:
      - description: Select the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiArtifactoryConnectionStatusRequestDTO'
        description: Set values for the connection properties `enabled` and `allowOverride`.
        required: true
      responses:
        '204':
          description: Artifactory connection status successfully updated.
      tags:
      - Configure Artifactory Connection
      summary: Update owner artifactory connection status
      x-summary-source: derived
  /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/test:
    post:
      description: 'Use this method to test an Artifactory connection for the specified owner.


        Permissons required: View IQ Elements'
      operationId: testArtifactoryConnection
      parameters:
      - description: Select the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/ApiArtifactoryConnectionDTO'
        description: Enter values for the Artifactory connection.<ul><li>`baseUrl` is the baseURL of the Artifactory instance.</li><li>`username` and `password` to authenticate the Artifactory connection.</li></ul>
        required: true
      responses:
        '204':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiStatusDTO'
          description: The response contains the `code` and `message` indicating the status of the connection.
      tags:
      - Configure Artifactory Connection
      summary: Test artifactory connection
      x-summary-source: derived
  /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/{artifactoryConnectionId}:
    delete:
      description: 'Use this method to delete an existing Artifactory connection.


        Permissions required: Edit IQ Elements'
      operationId: deleteArtifactoryConnection
      parameters:
      - description: Select the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      - description: Enter the Artifactory connection ID.
        in: path
        name: artifactoryConnectionId
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Artifactory connection deleted successfully.
      tags:
      - Configure Artifactory Connection
      summary: Delete artifactory connection
      x-summary-source: derived
    get:
      description: 'Use this method to retrieve details for an Artifactory connection.


        Permissions required: View IQ Elements'
      operationId: getArtifactoryConnection
      parameters:
      - description: Select the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      - description: Enter the Artifactory connection ID.
        in: path
        name: artifactoryConnectionId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiArtifactoryConnectionDTO'
          description: The response contains the details of the requested Artifactory connection.
      tags:
      - Configure Artifactory Connection
      summary: Get artifactory connection
      x-summary-source: derived
    put:
      description: 'Use this method to update an existing Artifactory connection.


        Permissions required: Edit IQ Elements'
      operationId: updateArtifactoryConnection
      parameters:
      - description: Specify the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      - description: Enter the Artifactory connection ID.
        in: path
        name: artifactoryConnectionId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiArtifactoryConnectionDTO'
        description: Enter values for the new Artifactory connection.<ul><li>`isAnonymous` indicates if the connection is anonymous.</li><li>`baseUrl` is the baseURL of the Artifactory instance.</li><li>`username` and `password` to authenticate the Artifactory connection.</li></ul>
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiArtifactoryConnectionDTO'
          description: The response contains the updated Artifactory connection details.
      tags:
      - Configure Artifactory Connection
      summary: Update artifactory connection
      x-summary-source: derived
  /api/v2/config/artifactoryConnection/{ownerType}/{internalOwnerId}/{artifactoryConnectionId}/test:
    post:
      description: Use this method to test an existing Artifactory connection using the connection ID.
      operationId: testArtifactoryConnection_1
      parameters:
      - description: Enter the owner type.
        in: path
        name: ownerType
        required: true
        schema:
          enum:
          - application
          - organization
          pattern: application|organization
          type: string
      - description: Enter the internal ID of the owner.
        in: path
        name: internalOwnerId
        required: true
        schema:
          type: string
      - description: Enter the Artifactory connection ID.
        in: path
        name: artifactoryConnectionId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiStatusDTO'
          description: The response contains the `code` and `message` indicating the status of the connection.
      tags:
      - Configure Artifactory Connection
      summary: Test artifactory connection 1
      x-summary-source: derived
components:
  schemas:
    ApiArtifactoryConnectionDTO:
      properties:
        artifactoryConnectionId:
          type: string
        baseUrl:
          type: string
        isAnonymous:
          type: boolean
        ownerId:
          type: string
        ownerType:
          enum:
          - application
          - organization
          - repository_container
          - repository_manager
          - repository
          - global
          type: string
        password:
          type: string
        username:
          type: string
      type: object
    ApiStatusDTO:
      properties:
        code:
          format: int32
          type: integer
        message:
          type: string
      type: object
    ApiOwnerDTO:
      properties:
        ownerId:
          type: string
        ownerName:
          type: string
        ownerPublicId:
          type: string
        ownerType:
          type: string
      type: object
    ApiOwnerArtifactoryConnectionDTO:
      properties:
        artifactoryConnection:
          $ref: '#/components/schemas/ApiArtifactoryConnectionDTO'
        artifactoryConnectionStatus:
          $ref: '#/components/schemas/ApiArtifactoryConnectionStatusResponseDTO'
        ownerDTO:
          $ref: '#/components/schemas/ApiOwnerDTO'
      type: object
    ApiArtifactoryConnectionStatusRequestDTO:
      properties:
        allowOverride:
          type: boolean
        enabled:
          type: boolean
      type: object
    ApiArtifactoryConnectionStatusResponseDTO:
      properties:
        allowChange:
          type: boolean
        allowOverride:
          type: boolean
        enabled:
          type: boolean
        inheritedFromOrgEnabled:
          type: boolean
        inheritedFromOrganizationId:
          type: string
        inheritedFromOrganizationName:
          type: string
      type: object
    ApiArtifactoryConnectionDTO_2:
      type: object
      properties:
        artifactoryConnectionId:
          type: string
        ownerType:
          type: string
          enum:
          - application
          - organization
          - repository_container
          - repository_manager
          - repository
          - hosted_repository_component
          - global
        ownerId:
          type: string
        isAnonymous:
          type: boolean
        baseUrl:
          type: string
        username:
          type: string
        password:
          type: string
  securitySchemes:
    BasicAuth:
      scheme: basic
      type: http
    BearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http
x-refined-from:
- sonatype-lifecycle-openapi.yml
- sonatype-iq-openapi.yml