Sonatype Nexus Repository Security management: SAML users API

The Security management: SAML users API from Sonatype Nexus Repository — 2 operation(s) for security management: saml users.

Operations 5

GET /v1/security/saml/users Retrieve a list of SAML users. The response is limited to 1,000 users #
POST /v1/security/saml/users Create a new SAML user. #
GET /v1/security/saml/users/{userId} Retrieve a SAML user by userId #
PUT /v1/security/saml/users/{userId} Update a SAML user's roles and attributes #
DELETE /v1/security/saml/users/{userId} Delete a SAML user #

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/nexus:nexus-security-management-saml-users-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

nexus-security-management-saml-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Nexus Repository Manager REST Security management: SAML…'
  version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: 'Security management: SAML users'
paths:
  /v1/security/saml/users:
    get:
      tags:
      - 'Security management: SAML users'
      summary: Retrieve a list of SAML users. The response is limited to 1,000 users
      operationId: listSecuritySamlUsers
      parameters:
      - name: userId
        in: query
        description: An optional term to search userids for.
        schema:
          type: string
      responses:
        '200':
          description: List of SAML users returned
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SamlUserXO'
        '403':
          description: Insufficient permissions
    post:
      tags:
      - 'Security management: SAML users'
      summary: Create a new SAML user.
      operationId: createSecuritySamlUsers
      requestBody:
        description: The SAML user to create
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SamlUserXO'
        required: true
      responses:
        '201':
          description: SAML user created
        '400':
          description: Invalid user data or user already exists
        '403':
          description: Insufficient permissions
  /v1/security/saml/users/{userId}:
    get:
      tags:
      - 'Security management: SAML users'
      summary: Retrieve a SAML user by userId
      operationId: getSecuritySamlUsers
      parameters:
      - name: userId
        in: path
        description: The userid the request should apply to.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: SAML user returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SamlUserXO'
        '403':
          description: Insufficient permissions
        '404':
          description: User not found
    put:
      tags:
      - 'Security management: SAML users'
      summary: Update a SAML user's roles and attributes
      operationId: updateSecuritySamlUsers
      parameters:
      - name: userId
        in: path
        description: The userid the request should apply to.
        required: true
        schema:
          type: string
      requestBody:
        description: The SAML user to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SamlUserXO'
        required: true
      responses:
        '204':
          description: SAML user updated
        '400':
          description: Invalid user data
        '403':
          description: Insufficient permissions
        '404':
          description: User not found
    delete:
      tags:
      - 'Security management: SAML users'
      summary: Delete a SAML user
      operationId: deleteSecuritySamlUsers
      parameters:
      - name: userId
        in: path
        description: The userid the request should apply to.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: SAML user deleted
        '403':
          description: Insufficient permissions
        '404':
          description: User not found
components:
  schemas:
    SamlUserXO:
      required:
      - status
      - userId
      type: object
      properties:
        userId:
          minLength: 1
          type: string
          description: The userid for the SAML user
        firstName:
          type: string
          description: The first name of the SAML user
        lastName:
          type: string
          description: The last name of the SAML user
        emailAddress:
          type: string
          description: The email address of the SAML user
          format: email
        status:
          type: string
          description: The status of the SAML user (active, disabled)
        roles:
          uniqueItems: true
          type: array
          description: The roles assigned to the SAML user
          items:
            type: string
            description: The roles assigned to the SAML user