Sonatype Config SAML API

Use this REST API to manage the SAML 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).

Operations 4

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/saml Remove the SAML configuration · Delete saml configuration #
Ask an LLM
“How do I disable SSO by removing the SAML configuration?”
“Can I clear the SAML settings entirely?”
Tell an agent destructive · confirm first
Delete the SAML configuration.
Disable SSO by removing the SAML settings.
GET /api/v2/config/saml Get the SAML configuration · Get saml configuration #
Ask an LLM
“What SAML configuration is currently set up for SSO?”
“Can I inspect the SAML settings before changing them?”
Tell an agent
Show the current SAML configuration.
Get the SSO SAML settings.
PUT /api/v2/config/saml Enable SSO with SAML · Insert or update saml configuration #
Ask an LLM
“How do I turn on SSO using my identity provider's SAML metadata?”
“Can I upload an IdP metadata XML file to enable SAML?”
Tell an agent
Enable SSO with SAML using IdP metadata {identityProviderXml}.
Update the SAML configuration to {samlConfiguration}.
GET /api/v2/config/saml/metadata Get the SAML metadata descriptor · Get metadata #
Ask an LLM
“Where do I get IQ Server's SAML metadata descriptor?”
“Can I download the SSO metadata descriptor for my IdP?”
Tell an agent
Get IQ Server's SAML metadata descriptor.
Download the SSO metadata descriptor.

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


        Permissions required: Edit System Configuration and Users.'
      operationId: deleteSamlConfiguration
      responses:
        '204':
          description: Successfully deleted the SAML configuration.
        '404':
          description: No SAML configuration found.
      tags:
      - Config SAML
      summary: Delete saml configuration
      x-summary-source: derived
    get:
      description: 'Use this method to inspect the SAML configuration.


        Permissions required: Edit System Configuration and Users'
      operationId: getSamlConfiguration
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSamlConfigurationResponseDTO'
          description: The response contains:<ul><li>`identityProviderName` the name of the Identity Provider that is displayed on the login page when SAML is configured.</li><li>`entityId` is the URI that IQ Server uses to identify itself in requests to the SSOservice.</li><li>`firstNameAttribute` is the SAML attribute that IQ Server extracts from the login response of the identity provider and uses as the user's first name.</li><li>`lastNameAttribute` is the SAML attribute that IQ Server extracts from the login response of the identity provider and uses as the user's last name.</li><li>`emailAttributeName` is the SAML attribute that IQ Server extracts from the login response of the identity provider to determine the user's email address.</li><li>`usernameAttributeName` is the SAML attribute that IQ Server extracts from the login response of the identity provider to determine the username or id.</li><li>`groupAttributeName` is the SAML attribute that IQ Server extracts from the login response of the identity provider to determine the groups the user belongs to.</li><li>`validateResponseSignature` indicates whether the SAML responses from the identity provider  are cryptographically signed. A `null` value indicates that this setting is derived from the SAML metadata from the identity provider performing signature validation if a signing key (`KeyDescriptor`) is included.<li>`validateAssertionSignature` indicates whether the SAML assertions from the identity provider  are cryptographically signed. A `null` value indicates that this setting is derived from  the SAML metadata from the identity provider performing signature validation if a signing key (`KeyDescriptor`) is included.</li><li>`identityProviderMetadataXml` is the metadata of the identity provider.</li></ul>
        '404':
          description: SAML is not configured.
      tags:
      - Config SAML
      summary: Get saml configuration
      x-summary-source: derived
    put:
      description: 'Use this method to enable SSO using SAML. This request uses the content type multipart/form-data to transmit the configuration to IQ Server.


        Permissions required: Edit System Configuration and Users'
      operationId: insertOrUpdateSamlConfiguration
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                identityProviderXml:
                  description: Enter the SAML metadata XML of your IdP. Refer to the IdP documentation to obtain this metadata.
                  type: string
                samlConfiguration:
                  $ref: '#/components/schemas/ApiSamlConfigurationDTO'
              type: object
      responses:
        '204':
          description: Configuration successful.
        '400':
          description: Invalid configuration.
      tags:
      - Config SAML
      summary: Insert or update saml configuration
      x-summary-source: derived
  /api/v2/config/saml/metadata:
    get:
      description: 'Use this method to retrieve IQ Server''s metadata service provider descriptor.


        Permissions required: Edit System Configuration and Users'
      operationId: getMetadata
      responses:
        '200':
          content:
            application/xml:
              schema:
                type: string
          description: The IQ Server's metadata service provider descriptor in XML format.
        '404':
          description: SAML is not configured.
      tags:
      - Config SAML
      summary: Get metadata
      x-summary-source: derived
components:
  schemas:
    ApiSamlConfigurationResponseDTO:
      properties:
        emailAttributeName:
          type: string
        entityId:
          type: string
        firstNameAttributeName:
          type: string
        groupsAttributeName:
          type: string
        identityProviderMetadataXml:
          type: string
        identityProviderName:
          type: string
        lastNameAttributeName:
          type: string
        usernameAttributeName:
          type: string
        validateAssertionSignature:
          type: boolean
        validateResponseSignature:
          type: boolean
      type: object
    ApiSamlConfigurationDTO:
      description: Enter the SAML configuration<ul><li>`identityProviderName` the name of the Identity Provider that is displayed on the login page when SAML is configured.</li><li>`entityId` is the URI that IQ Server uses to identify itself in requests to the SSOservice.</li><li>`firstNameAttribute` is the SAML attribute that IQ Server extracts from the login response of the identity provider and uses as the user's first name.</li><li>`lastNameAttribute` is the SAML attribute that IQ Server extracts from the login response of the identity provider and uses as the user's last name.</li><li>`emailAttributeName` is the SAML attribute that IQ Server extracts from the login response of the identity provider to determine the user's email address.</li><li>`usernameAttributeName` is the SAML attribute that IQ Server extracts from the login response of the identity provider to determine the username or id.</li><li>`groupAttributeName` is the SAML attribute that IQ Server extracts from the login response of the identity provider to determine the groups the user belongs to.</li><li>`validateResponseSignature` indicates whether the SAML responses from the identity provider  are cryptographically signed. A `null` value indicates that this setting is derived from the SAML metadata from the identity provider performing signature validation if a signing key (`KeyDescriptor`) is included.<li>`validateAssertionSignature` indicates whether the SAML assertions from the identity provider  are cryptographically signed. A `null` value indicates that this setting is derived from  the SAML metadata from the identity provider performing signature validation if a signing key (`KeyDescriptor`) is included.</li><li>`identityProviderMetadataXml` is the metadata of the identity provider.</li></ul>
      properties:
        emailAttributeName:
          type: string
        entityId:
          type: string
        firstNameAttributeName:
          type: string
        groupsAttributeName:
          type: string
        identityProviderName:
          type: string
        lastNameAttributeName:
          type: string
        usernameAttributeName:
          type: string
        validateAssertionSignature:
          type: boolean
        validateResponseSignature:
          type: boolean
      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