Sonatype Nexus Repository Security Management: Anonymous Access API

The Security Management: Anonymous Access API from Sonatype Nexus Repository — 1 operation(s) for security management: anonymous access.

Operations 2

GET /v1/security/anonymous Get Anonymous Access settings #
PUT /v1/security/anonymous Update Anonymous Access settings #

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-anonymous-access-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-anonymous-access-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nexus Repository Manager REST Security Management…
  version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: 'Security Management: Anonymous Access'
paths:
  /v1/security/anonymous:
    get:
      tags:
      - 'Security Management: Anonymous Access'
      summary: Get Anonymous Access settings
      operationId: listSecurityAnonymous
      responses:
        '200':
          description: Anonymous access settings returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnonymousAccessSettingsXO'
        '403':
          description: Insufficient permissions to update settings
    put:
      tags:
      - 'Security Management: Anonymous Access'
      summary: Update Anonymous Access settings
      operationId: updateSecurityAnonymous
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnonymousAccessSettingsXO'
      responses:
        '200':
          description: Anonymous access settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnonymousAccessSettingsXO'
        '403':
          description: Insufficient permissions to update settings
components:
  schemas:
    AnonymousAccessSettingsXO:
      required:
      - realmName
      - userId
      type: object
      properties:
        enabled:
          type: boolean
          description: Whether or not Anonymous Access is enabled
        userId:
          minLength: 1
          type: string
          description: The username of the anonymous account
        realmName:
          minLength: 1
          type: string
          description: The name of the authentication realm for the anonymous account