Sonatype Nexus Repository · Schema
ApiUser
Artifact ManagementDevOpsDockerMavennpmPackage ManagementRepository ManagerSoftware Supply ChainRepositoryDeveloper ToolsArtifact RepositoryHelmNuGetOCIPyPISonatype
Properties
| Name | Type | Description |
|---|---|---|
| userId | string | The userid which is required for login. This value cannot be changed. |
| firstName | stringnull | The first name of the user. |
| lastName | stringnull | The last name of the user. |
| emailAddress | stringnull | The email address associated with the user. |
| source | string | The source of the user. When creating user, if the source is "default", the local Nexus Security User will be created. If the source is anything but "default" (i.e., LDAP or SAML), a local LdapUser (o |
| status | string | The user's status, e.g. active or disabled. |
| readOnly | boolean | Indicates whether the user's properties could be modified by the Nexus Repository Manager. When false only roles are considered during update. |
| roles | array | The roles which the user has been assigned within Nexus. |
| externalRoles | array | The roles which the user has been assigned in an external source, e.g. LDAP group. These cannot be changed within the Nexus Repository Manager. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nexus/json-schema/nexus-api-user-schema.json",
"title": "ApiUser",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/nexus-openapi.json#/components/schemas/ApiUser",
"required": [
"source",
"status",
"userId"
],
"type": "object",
"properties": {
"userId": {
"minLength": 1,
"type": "string",
"description": "The userid which is required for login. This value cannot be changed."
},
"firstName": {
"type": [
"string",
"null"
],
"description": "The first name of the user."
},
"lastName": {
"type": [
"string",
"null"
],
"description": "The last name of the user."
},
"emailAddress": {
"type": [
"string",
"null"
],
"description": "The email address associated with the user.",
"format": "email"
},
"source": {
"minLength": 1,
"type": "string",
"description": "The source of the user. When creating user, if the source is \"default\", the local Nexus Security User will be created. If the source is anything but \"default\" (i.e., LDAP or SAML), a local LdapUser (or SamlUser) will be created and have the listed roles assigned to that user."
},
"status": {
"type": "string",
"description": "The user's status, e.g. active or disabled.",
"enum": [
"active",
"locked",
"disabled",
"changepassword"
]
},
"readOnly": {
"type": "boolean",
"description": "Indicates whether the user's properties could be modified by the Nexus Repository Manager. When false only roles are considered during update."
},
"roles": {
"uniqueItems": true,
"type": "array",
"description": "The roles which the user has been assigned within Nexus.",
"items": {
"type": "string",
"description": "The roles which the user has been assigned within Nexus."
}
},
"externalRoles": {
"uniqueItems": true,
"type": "array",
"description": "The roles which the user has been assigned in an external source, e.g. LDAP group. These cannot be changed within the Nexus Repository Manager.",
"items": {
"type": "string",
"description": "The roles which the user has been assigned in an external source, e.g. LDAP group. These cannot be changed within the Nexus Repository Manager."
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/nexus-api-user"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.