Rapid7 User API

Resources and operations for managing users, permissions, and privileges.

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).
Business capability
Identity & Access Management BC-620.20

Operations 32

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

GET /api/3/authentication_sources List authentication sources · Authentication Sources #
Ask an LLM
“Which authentication sources are available for users?”
“What login methods can user accounts use?”
Tell an agent
List all authentication sources.
Show every source users can authenticate against.
GET /api/3/authentication_sources/{id} Get an authentication source · Authentication Source #
Ask an LLM
“What details are stored for one authentication source?”
“Can I look up a single login source by ID?”
Tell an agent
Show authentication source {id}.
Get the details of login source {id}.
GET /api/3/authentication_sources/{id}/users List users of an authentication source · Authentication Source Users #
Ask an LLM
“Which user accounts use a particular authentication source?”
“Can I see who logs in with a given source?”
Tell an agent
List users who authenticate with source {id}.
Show the user accounts that use authentication source {id}.
GET /api/3/privileges List user privileges · Privileges #
Ask an LLM
“What privileges can be granted to roles?”
“Which actions can a user privilege allow?”
Tell an agent
List all available privileges.
Show every role privilege.
GET /api/3/privileges/{id} Get a privilege · Privilege #
Ask an LLM
“What does a specific privilege allow?”
“Can I read the details of one privilege by ID?”
Tell an agent
Show privilege {id}.
Get the details of privilege {id}.
GET /api/3/privileges/{id}/users List users granted a privilege · Users With Privilege #
Ask an LLM
“Which users have a particular privilege?”
“Can I find everyone who holds a given role privilege?”
Tell an agent
List users granted privilege {id}.
Show the user accounts that hold privilege {id}.
GET /api/3/roles List user roles · Roles #
Ask an LLM
“What roles can users be assigned?”
“Which roles exist for role-based access control?”
Tell an agent
List all user roles.
Show every role available to users.
GET /api/3/roles/{id} Get a role · Role #
Ask an LLM
“What privileges does a specific role grant?”
“Can I read the details of one role by ID?”
Tell an agent
Show role {id}.
Get the details of role {id}.
PUT /api/3/roles/{id} Update a role · Role #
Ask an LLM
“How do I change the privileges granted to a role?”
“Can I rename a role or change its description?”
Tell an agent
Update role {id} with name {name} and description {description}.
Set role {id} to include privileges {privileges}.
DELETE /api/3/roles/{id} Delete a role · Role #
Ask an LLM
“How do I remove a role that is no longer used?”
“Can I delete a role that is still assigned to users?”
Tell an agent destructive · confirm first
Delete role {id}.
Remove the unused role {id}.
GET /api/3/roles/{id}/users List users assigned a role · Users With Role #
Ask an LLM
“Which users are assigned a particular role?”
“Can I see everyone holding a given role?”
Tell an agent
List users assigned role {id}.
Show the user accounts with role {id}.
GET /api/3/users List users · Users #
Ask an LLM
“Who are the users defined in InsightVM?”
“Can I page through all user accounts?”
Tell an agent
List all users.
Show users sorted by {sort}.
POST /api/3/users Create a user · Users #
Ask an LLM
“How do I add a new user with a login and role?”
“Can I set a password and require a password reset on first login?”
Tell an agent
Create user {login} named {name} with role {role} and password {password}.
Add a new user {login} with email {email} and password {password}.
GET /api/3/users/{id} Get a user · User #
Ask an LLM
“What are the details of one user account?”
“Can I look up a user by ID?”
Tell an agent
Show user {id}.
Get the details of user {id}.
PUT /api/3/users/{id} Update a user · User #
Ask an LLM
“How do I change a user's password or role?”
“Can I disable a user account?”
Tell an agent
Update user {id} with login {login} and password {password}.
Set user {id} to role {role} and name {name}.
DELETE /api/3/users/{id} Delete a user · User #
Ask an LLM
“How do I remove a user account?”
“Can I delete a user by ID?”
Tell an agent destructive · confirm first
Delete user {id}.
Remove the user account {id}.
GET /api/3/users/{id}/2FA Get a user's 2FA seed · Two-Factor Authentication #
Ask an LLM
“Where do I get the seed for a user's two-factor authenticator?”
“Can I retrieve the current 2FA token seed for a user?”
Tell an agent
Get the 2FA seed for user {id}.
Show the current two-factor token seed for user {id}.
POST /api/3/users/{id}/2FA Regenerate a user's 2FA seed · Two-Factor Authentication #
Ask an LLM
“How do I rotate a user's two-factor seed?”
“Can I issue a fresh 2FA token seed for a user?”
Tell an agent
Regenerate the 2FA seed for user {id}.
Rotate the two-factor token seed for user {id}.
PUT /api/3/users/{id}/2FA Set a user's 2FA seed · Two-Factor Authentication #
Ask an LLM
“How do I configure two-factor authentication for a user?”
“Can I set a new 2FA seed for a user?”
Tell an agent
Set the 2FA seed for user {id}.
Configure two-factor authentication for user {id}.
GET /api/3/users/{id}/asset_groups List asset groups a user can access · Asset Groups Access #
Ask an LLM
“Which asset groups can a user access?”
“Can I see the asset groups a user has permissions on?”
Tell an agent
List asset groups accessible to user {id}.
Show the asset groups user {id} can access.
PUT /api/3/users/{id}/asset_groups Give a user access to asset groups · Asset Groups Access #
Ask an LLM
“How do I limit a user to certain asset groups?”
“Can a user with all-asset-group access have individual asset group access removed?”
Tell an agent
Set the asset groups for user {id}.
Give user {id} access to these asset groups.
DELETE /api/3/users/{id}/asset_groups Revoke a user's access to all asset groups · Asset Groups Access #
Ask an LLM
“How do I remove a user's access to every asset group?”
“Can I clear all asset group access for a user?”
Tell an agent destructive · confirm first
Revoke all asset group access for user {id}.
Remove user {id} from every asset group.
PUT /api/3/users/{id}/asset_groups/{assetGroupId} Grant a user access to one asset group · Asset Group Access #
Ask an LLM
“How do I give a user access to a single asset group?”
“Can I add one asset group to a user's access?”
Tell an agent
Grant user {id} access to asset group {asset_group}.
Add asset group {asset_group} to user {id}'s access.
DELETE /api/3/users/{id}/asset_groups/{assetGroupId} Revoke a user's access to one asset group · Asset Group Access #
Ask an LLM
“How do I take a user's access away from one asset group?”
“Can I remove a single asset group from a user?”
Tell an agent destructive · confirm first
Revoke user {id}'s access to asset group {asset_group}.
Remove asset group {asset_group} from user {id}'s access.
DELETE /api/3/users/{id}/lock Unlock a locked user account · Unlock Account #
Ask an LLM
“Can I unlock a user account locked from failed logins?”
“Can disabled users be unlocked this way?”
Tell an agent destructive · confirm first
Unlock user {id}.
Remove the lock on account {id} so it can log in again.
PUT /api/3/users/{id}/password Change a user's password · Password Reset #
Ask an LLM
“How do I change a user's password?”
“Can a user reset their own password?”
Tell an agent
Reset the password for user {id}.
Change user {id}'s password.
GET /api/3/users/{id}/privileges List a user's role privileges · User Privileges #
Ask an LLM
“What privileges does a particular user have?”
“Which roles grant a user their permissions?”
Tell an agent
Show the privileges granted to user {id}.
List the role privileges for user {id}.
GET /api/3/users/{id}/sites List a user's site access · Sites Access #
Ask an LLM
“Which sites is a user allowed to access?”
“Can I see the site access a user has?”
Tell an agent
Show the sites user {id} has access to.
List the site access for user {id}.
PUT /api/3/users/{id}/sites Give a user access to sites · Sites Access #
Ask an LLM
“How do I restrict a user to certain sites?”
“Can a user with all-site access get individual site access removed?”
Tell an agent
Set the sites for user {id}.
Give user {id} access to these sites.
DELETE /api/3/users/{id}/sites Revoke a user's access to all sites · Sites Access #
Ask an LLM
“How do I remove a user's access to every site?”
“Can I clear all site access for a user?”
Tell an agent destructive · confirm first
Revoke all site access for user {id}.
Remove user {id} from every site.
PUT /api/3/users/{id}/sites/{siteId} Grant a user access to one site · Site Access #
Ask an LLM
“How do I give a user access to a single site?”
“Can I add one site to a user's access?”
Tell an agent
Grant user {id} access to site {site}.
Add site {site} to user {id}'s access.
DELETE /api/3/users/{id}/sites/{siteId} Revoke a user's access to one site · Site Access #
Ask an LLM
“How do I take a user's access away from one site?”
“Can I remove a single site from a user?”
Tell an agent destructive · confirm first
Revoke user {id}'s access to site {site}.
Remove site {site} from user {id}'s access.

Specifications

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/rapid7:rapid7-user-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

rapid7-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: '# Overview


    This guide documents the InsightVM Application Programming Interface (API) Version 3.'
  version: '3'
  title: InsightVM User API
  contact:
    name: Rapid7
    email: support@rapid7.com
servers:
- url: https://localhost:3780/
tags:


# --- truncated at 32 KB (75 KB total) ---
# Full source: https://artifacts.apis.io/rapid7/openapi/rapid7-user-api-openapi.yml