Sonatype Config OIDC API

Use this REST API to manage the OIDC configuration for IQ Server.

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).
Business capability
Identity & Access Management BC-620.20

Operations 3

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

DELETE /api/v2/config/oidc Remove the OIDC configuration · Delete oidc configuration #
Ask an LLM
“How do I disable OpenID Connect SSO?”
“Can I clear the OIDC configuration from IQ Server?”
Tell an agent destructive · confirm first
Delete the OIDC configuration.
Disable OpenID Connect SSO by removing its settings.
GET /api/v2/config/oidc Get the OIDC configuration · Get oidc configuration #
Ask an LLM
“What OpenID Connect settings are configured on IQ Server?”
“Can I read the current OIDC configuration?”
Tell an agent
Get the OIDC configuration.
Show the OpenID Connect settings.
PUT /api/v2/config/oidc Enable or update OIDC SSO · Insert or update oidc configuration #
Ask an LLM
“How do I turn on single sign-on with OpenID Connect?”
“Can I change the OIDC configuration on IQ Server?”
Tell an agent
Set the OIDC configuration to {oidcConfiguration}.
Enable OpenID Connect SSO with {oidcConfiguration}.

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-config-oidc-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-config-oidc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sonatype Config OIDC API
  version: '1.0'
  description: 'Operations tagged Config OIDC 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 OIDC configuration for IQ Server.
  name: Config OIDC
paths:
  /api/v2/config/oidc:
    delete:
      description: 'Use this method to delete the OIDC configuration.


        Permissions required: Edit System Configuration and Users'
      operationId: deleteOidcConfiguration
      responses:
        '404':
          description: OIDC is not configured.
      tags:
      - Config OIDC
      summary: Delete oidc configuration
      x-summary-source: derived
    get:
      description: 'Use this method to retrieve the OIDC configuration.


        Permissions required: Edit System Configuration and Users'
      operationId: getOidcConfiguration
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SsoConfigurationDTO'
          description: "The response contains:\n - `oidcConfiguration` field that contains all the oidc configuration data \n - `oAuth2Configuration` field that contains the OAuth2 configuration required for oidc"
        '404':
          description: OIDC is not configured.
      tags:
      - Config OIDC
      summary: Get oidc configuration
      x-summary-source: derived
    put:
      description: 'Use this method to enable SSO using OpenID Connect (OIDC). This request uses the content type application/json to transmit the configuration to IQ Server.


        Permissions required: Edit System Configuration and Users'
      operationId: insertOrUpdateOidcConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SsoConfigurationDTO'
      responses:
        '204':
          description: Configuration successful.
        '400':
          description: Invalid configuration.
      tags:
      - Config OIDC
      summary: Insert or update oidc configuration
      x-summary-source: derived
components:
  schemas:
    OAuth2ConfigurationDTO:
      properties:
        emailClaim:
          type: string
        exactMatchClaimsJson:
          type: string
        firstNameClaim:
          type: string
        groupsClaim:
          type: string
        idpIssuer:
          type: string
        idpJwks:
          type: string
        idpJwksUrl:
          type: string
        idpJwsAlgorithm:
          type: string
        lastNameClaim:
          type: string
        usernameClaim:
          type: string
      type: object
    OidcConfigurationDTO:
      properties:
        authorizationCustomParamsJson:
          type: string
        clientId:
          type: string
        clientSecret:
          type: string
        idpAuthorizationUrl:
          type: string
        idpIssuer:
          type: string
        idpTokenUrl:
          type: string
        tokenRequestCustomParamsJson:
          type: string
      type: object
    SsoConfigurationDTO:
      properties:
        oauth2Configuration:
          $ref: '#/components/schemas/OAuth2ConfigurationDTO'
        oidcConfiguration:
          $ref: '#/components/schemas/OidcConfigurationDTO'
      type: object
  securitySchemes:
    BasicAuth:
      scheme: basic
      type: http
    BearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http
x-refined-from:
- sonatype-lifecycle-openapi.yml
- sonatype-iq-openapi.yml