Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Tenable Access Control (Users) API

The Access Control (Users) API from Tenable — 10 operation(s) for access control (users).

Tenable Access Control (Users) API is one of 107 APIs that Tenable publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Access Control (Users). The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 15 operations across 10 paths, and defines 9 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against a single base URL, https://www.tenable.com/downloads/api/v2.

15 operations 10 paths 9 schemas 1 DELETE4 GET3 POST7 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://cloud.tenable.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Tenable Access Control (Users) API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (Bearer). By default, every request must be authenticated.

  • Bearer — Example: Bearer {{token}}

Paths & Operations 15

Across 10 paths, the API surfaces 15 operations — 1 DELETE, 4 GET, 3 POST, 7 PUT. Each is listed below with its method, path, parameters, and response codes.

Access Control (Users) 15
POST
/users
Create user
users-create body → 200400401403429500
GET
/users
List users
users-list 1 param → 200401403429500
GET
/users/{user_id}
Get user details
users-details 1 param → 200401403404429500
PUT
/users/{user_id}
Update user
users-edit 1 param body → 200400401403404409429500
DELETE
/users/{user_id}
Delete user
users-delete 2 params → 200401403404409429500
GET
/access-control/v1/users/{user_uuid}/roles
Get user role
access-control-users-role-list 1 param → 200401403404429500
PUT
/access-control/v1/users/{user_uuid}/roles
Change user role
access-control-users-role-update 1 param body → 200400401403404429500
PUT
/users/{user_uuid}/chpasswd
Change password
users-password 1 param body → 200400401403404429500
PUT
/users/{user_id}/enabled
Enable or disable user account
users-enabled 1 param body → 200401403404409429500
GET
/users/{user_id}/authorizations
Get user authorizations
users-list-auths 1 param → 200401404429500
PUT
/users/{user_id}/authorizations
Update user authorizations
users-update-auths 1 param body → 204400401404429500
PUT
/users/{user_id}/keys
Generate API keys
users-keys 1 param → 200401403404429500
POST
/users/{user_id}/two-factor/send-verification
Send verification code
users-two-factor-enable 1 param body → 200400401404429500
POST
/users/{user_id}/two-factor/verify-code
Validate verification code
users-two-factor-enable-verify 1 param body → 200400401404429500
PUT
/users/{user_id}/two-factor
Configure two-factor authentication
users-two-factor 1 param body → 200401404429500

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are Access_Control_Users_user-object (25 properties), Access_Control_Users_authorizations (5 properties), Access_Control_Users_authorizations_update (4 properties), Access_Control_Users_ErrorResponse (3 properties). Each schema is shown below with its type and property counts.

Access_Control_Users_ErrorResponse
object
3 properties
Access_Control_Users_keys
object
2 properties
Access_Control_Users_authorizations_update
object
An object specifying the authorization settings to apply to the user. Set each property to true to grant the authorization or false to revoke it.
4 properties 3 required
Access_Control_Users_users
array
An array of user objects.
Access_Control_Users_Object-User-Role
object
3 properties
Access_Control_Users_ErrorResponse-Error
object
1 property
Access_Control_Users_authorizations
object
5 properties
Access_Control_Users_user-object
object
25 properties
Access_Control_Users_TwoFactor
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tenable-access-control-users-api-openapi.yml Raw ↑

Other APIs Tenable publishes across the network.

Tenable About API
Tenable Access Control (API) API
Tenable Access Control (Groups) API
Tenable Access Control (Permissions) API
Tenable Access Control (Roles) API
Tenable Access Groups v1 API
Tenable Access Groups v2 API
Tenable Account Groups API
Tenable Accounts API
Tenable Activity Log API
Tenable AD object API
Tenable Agent Config API