Use this REST API to manage authorizations for users or user groups.You can view existing role assignments and grant or revoke user authorization on organizations, applications and repositories.
Sonatype Role Memberships API is one of 58 APIs that Sonatype publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 2 JSON Schema definitions.
Tagged areas include Role Memberships. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 2 JSON Schemas.
This API exposes
10 operations
across 8 paths,
and defines 7 schemas.
It is described by OpenAPI 3.2.0, at version 1.201.0-02.
Requests are made against the base URL https://{iq-server-host}/.
10 operations8 paths7 schemas2 DELETE4 GET4 PUT
Metadata
The identity and technical contract details declared by the specification.
Specification
OpenAPI 3.2.0
API Version
1.201.0-02
Base URL
https://{iq-server-host}/
Authentication
HTTP Basic, HTTP Bearer
Resource Areas
1
Authentication & Security 2
Sonatype Role Memberships API declares
2 security schemes
for authenticating requests.
It accepts HTTP basic authentication (BasicAuth).
It accepts HTTP bearer tokens (JWT) (BearerAuth).
By default, every request must be authenticated.
Paths & Operations 10
Across 8 paths, the API surfaces 10 operations — 2 DELETE, 4 GET, 4 PUT. Each is listed below with its method, path, parameters, and response codes.
Role Memberships 10
Use this REST API to manage authorizations for users or user groups. You can view existing role assignments and grant or revoke user authorization on organizations, applications a…
GET
/api/v2/roleMemberships/{ownerType}
Use this method to retrieve all users and roles globally or for all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global c…
Use this method to set all members for a specific role in the global or repository container context. This operation atomically replaces all existing members for the role with the provided list. Perm…
Use this method to revoke roles globally or on all repositories. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global context
Use this method to grant a role to a user or user group globally or on all repositories. Permissions required: Edit system configuration and users for a global context or edit access control for a no…
Use this method to retrieve all role memberships for global or repository container context with full details including role names, descriptions, and member information. Permissions required: Edit sy…
Use this method to retrieve the users, user groups and the corresponding role Ids. Permissions required: Edit system configuration and users for a global context or view IQ elements for a non-global…
Use this method to set all members for a specific role. This operation atomically replaces all existing members for the role with the provided list. Permissions required: Edit access control
Use this method to retrieve all role memberships with full details including role names, descriptions, and member information organized by owner (for inheritance display). Permissions required: Edit…
getBulkRoleMembershipsNonGlobal2 params→ 200
Schemas 7
The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are ApiMemberWithDetailsDTO (5 properties), ApiMemberDTO (4 properties), ApiRoleWithMembersByOwnerDTO (4 properties), ApiMembersByOwnerDTO (4 properties). Each schema is shown below with its type and property counts.
ApiMemberWithDetailsDTO
object
5 properties
ApiRoleMemberMappingListDTO
object
1 property
ApiMembersByOwnerDTO
object
4 properties
ApiApplicableMembershipMappingsDTO
object
2 properties
ApiRoleWithMembersByOwnerDTO
object
4 properties
ApiRoleMemberMappingDTO
object
2 properties
ApiMemberDTO
object
4 properties
Specification
The full machine-readable OpenAPI contract behind this narrative.
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of Sonatype Role Memberships API, published by
API Evangelist. We do not operate, host, resell, or
support these APIs, and we are not affiliated with or endorsed by the company unless stated above.
Everything here is built from publicly available information — the company's own site,
developer portal, documentation, public repositories, and the specifications it publishes for public use.
Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's
public API artifacts, scored against a published rubric. They are not certifications,
endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and
you do not need to justify the request. A removed company is recorded as unrated, never scored
zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy → On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.