Delinea Users API

View and maintain users

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 45

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 /v1/users/{id} Get a user by ID · Get User #
Ask an LLM
“How do I look up a single user in Secret Server by their ID?”
“Can I fetch a user's details including inactive ones?”
Tell an agent
Get user {id}.
Show user {id} with inactive users set to {includeInactive}.
PUT /v1/users/{id} Replace a user's details · Update User #
Ask an LLM
“How do I change a user's email address or password?”
“Can I disable a user account or lock them out?”
Tell an agent
Update user {id} with email {emailAddress} and password {password}.
Disable user {id} by setting enabled to {enabled}.
DELETE /v1/users/{id} Delete a user · Delete User #
Ask an LLM
“How do I permanently remove a user account?”
“Can I delete a user by their ID?”
Tell an agent destructive · confirm first
Delete user {id}.
Remove the user account {id} from Secret Server.
PATCH /v1/users/{id} Patch a user's properties · Update included properties for user by Id #
Ask an LLM
“Can I change just a user's display name or two-factor settings without resending everything?”
“Is there a partial update for a user's properties?”
Tell an agent
Patch user {id} so their display name is {displayName}.
Set two-factor authentication on user {id} to {twoFactor}.
GET /v1/users/{id}/owners/{ownerId} Get one owner of a user · Get User Owner #
Ask an LLM
“Who owns a specific user account?”
“Can I check a single owner assigned to a user?”
Tell an agent
Get owner {ownerId} for user {id}.
Show the owner {ownerId} assigned to user {id}.
DELETE /v1/users/{id}/owners/{ownerId} Remove an owner from a user · Remove User Owner #
Ask an LLM
“How do I take an owner off a user account?”
“Can I remove a single owner from a user?”
Tell an agent destructive · confirm first
Remove owner {ownerId} from user {id}.
Unassign owner {ownerId} so user {id} is no longer managed by them.
GET /v1/users/{id}/roles List a user's roles · Gets roles for user #
Ask an LLM
“What roles does a particular user have?”
“Can I see which roles a user is assigned to?”
Tell an agent
List the roles of user {id}.
Show user {id}'s roles sorted by {sortBy}.
PUT /v1/users/{id}/roles Replace a user's roles · Update all roles on user #
Ask an LLM
“How do I set the exact roles a user has?”
“Can I overwrite a user's roles with a new list?”
Tell an agent
Replace the roles of user {id} with {roleIds}.
Set user {id}'s roles to {roleIds}.
POST /v1/users/{id}/roles Add roles to a user · Add roles to existing user #
Ask an LLM
“How do I give a user additional roles without replacing the existing ones?”
“Can I add roles to an existing user?”
Tell an agent
Add roles {roleIds} to user {id}.
Grant user {id} the roles {roleIds}.
DELETE /v1/users/{id}/roles Remove roles from a user · Remove roles from existing user #
Ask an LLM
“How do I take roles away from a user?”
“Can I remove specific roles from a user?”
Tell an agent destructive · confirm first
Remove roles {roleIds} from user {id}.
Revoke user {id}'s roles {roleIds}.
GET /v1/users/{id}/groups List a user's groups · Get User Groups #
Ask an LLM
“Which groups is a particular user a member of?”
“Can I see a user's group memberships?”
Tell an agent
List the groups of user {id}.
Show user {id}'s group memberships sorted by {sortBy}.
PUT /v1/users/{id}/groups Replace a user's groups · Update all groups on user #
Ask an LLM
“How do I set the exact groups a user belongs to?”
“Can I overwrite a user's group memberships?”
Tell an agent
Replace the groups of user {id} with {groupIds}.
Set user {id}'s groups to {groupIds}.
POST /v1/users/{id}/groups Add groups to a user · Add groups to existing user #
Ask an LLM
“How do I put a user into additional groups?”
“Can I add several groups to a user at once?”
Tell an agent
Add user {id} to groups {groupIds}.
Put user {id} into the groups {groupIds}.
DELETE /v1/users/{id}/groups Remove groups from a user · Remove groups from existing user #
Ask an LLM
“How do I take a user out of certain groups?”
“Can I remove specific groups from a user?”
Tell an agent destructive · confirm first
Remove groups {groupIds} from user {id}.
Unassign user {id} from groups {groupIds}.
GET /v1/users Search users · Search Users #
Ask an LLM
“How do I find users by name, email or AD domain?”
“Can I search users and include inactive ones?”
Tell an agent
Search users for {searchText}.
Find users in AD domain {domainId} matching {searchText}.
POST /v1/users Create a user · Create User #
Ask an LLM
“How do I create a new user account with a password?”
“Can I create an application user that can't log in?”
Tell an agent
Create user {userName} with display name {displayName} and password {password}.
Create application user {userName} with display name {displayName}, password {password} and isApplicationAccount {isApplicationAccount}.
GET /v1/users/current-summary Get a summary of the current user · Current User Summary #
Ask an LLM
“What summary information is available for the user I'm logged in as?”
“Can I get a quick summary of my own user account?”
Tell an agent
Get the current user summary.
Show a summary of the user I'm logged in as.
GET /v1/users/current Get the current user · Current User #
Ask an LLM
“How do I see my own user account details?”
“Can I fetch the user record for the account I'm authenticated with?”
Tell an agent
Get the current user.
Show my own user account details.
GET /v1/users/lookup Look up users by name or email · Lookup Users #
Ask an LLM
“How do I find a user's ID and name from a search term?”
“Can I search users and get back only IDs and names?”
Tell an agent
Lookup users for {searchText}.
Find user IDs and names matching {searchText} in AD domain {domainId}.
GET /v1/users/stub Get default values for a new user · Get User Stub #
Ask an LLM
“What default values does a new user start with?”
“Can I get a blank user template before creating one?”
Tell an agent
Get the user stub with default values.
Show the default user template.
GET /v1/users/platform/{platformUserId} Look up a user by their external platform ID · Get User by External Platform User ID #
Ask an LLM
“How do I find a Secret Server user when I only have their external platform user ID?”
“Can I include inactive users when looking up a user by platform ID?”
Tell an agent
Get the user with platform user ID {platformUserId}.
Look up platform user {platformUserId} including inactive users: {includeInactive}.
GET /v1/users/public-ssh-keys List a user's public SSH keys · Get User Public Ssh Keys #
Ask an LLM
“Which public SSH keys are registered for a user?”
“Can I include expired or inactive SSH keys in the user's key list?”
Tell an agent
List the public SSH keys for user {userId}.
Show {userId}'s public SSH keys matching {searchText}.
POST /v1/users/public-ssh-keys Add a public SSH key for the current user · Create a User Ssh Key #
Ask an LLM
“How do I register a public SSH key for my own user?”
“Can I add a passphrase when creating a public SSH key?”
Tell an agent
Create a public SSH key described as {description} in {format} format.
Add my public key {description} with algorithm {algorithm} and passphrase {passphrase}.
GET /v1/users/{id}/owners List who owns a user account · Get User Owners #
Ask an LLM
“Who are the owners of a user in Secret Server?”
“Can I see the owner record for one user ID?”
Tell an agent
Find the owners of user {id}.
Show who owns user {id}, sorted by {sortBy}.
POST /v1/users/{id}/owners Add an owner to a user · Add User Owner #
Ask an LLM
“How do I make a user an owner of another user?”
“Can I add a group as an owner of a user?”
Tell an agent
Add user {userId} as an owner of user {id}.
Make group {groupName} an owner of user {id}.
PATCH /v1/users/{id}/owners Replace or remove a user's owners · Add and remove the owners on the user #
Ask an LLM
“How do I remove all owners from a user?”
“Can I add several groups as owners in one request?”
Tell an agent
Remove all owners from user {id}.
Set the owners of user {id} to groups {addedGroupIds}.
GET /v1/domains List the domains in Secret Server · Get Domains #
Ask an LLM
“What domains are configured in Secret Server?”
“Can I sort the domains list?”
Tell an agent
List all domains.
Show the first {take} domains sorted by {sortBy}.
GET /v1/users/{userId}/roles-assigned List roles assigned to a user · Get User Roles #
Ask an LLM
“What roles does a user have assigned?”
“Can I see every role granted to one user ID?”
Tell an agent
Show roles assigned to user {userId}.
List the roles of user {userId}, sorted by {sortBy}.
GET /v1/users/{userId}/audit List a user's audit events · User Audits #
Ask an LLM
“What actions has a specific user performed, like logins and password changes?”
“Can I export a user's audit trail?”
Tell an agent
List the audit events for user {userId}.
Export the audit trail for user {userId} with {isExporting} set to {isExporting}.
GET /v1/users/{userId}/secret-activity List a user's secret access activity · User Secret Activity #
Ask an LLM
“Which secrets has a user accessed recently?”
“Can I exclude rotated secrets from a user's secret activity?”
Tell an agent
List secret activity for user {userId}.
Show user {userId}'s secret access between {startDate} and {endDate}.
GET /v1/users/action/audit List users who performed a given action · User Audits by Action #
Ask an LLM
“Who changed a user's password, or who logged in?”
“Can I filter the action audit by specific actions?”
Tell an agent
List users who performed action {actions}.
Show the action audit for {actions} with {isExporting} set to {isExporting}.
GET /v1/users/{userId}/teams List the teams a user belongs to · User Teams #
Ask an LLM
“Which teams is a user a member of?”
“Can I include inactive teams in the user's team list?”
Tell an agent
List the teams user {userId} belongs to.
Show teams for user {userId} matching {searchTerm}.
GET /v1/users/preference Get a user preference · Get Preference #
Ask an LLM
“What preference is set for the current user?”
“Can I fetch a preference by its setting code?”
Tell an agent
Get the current user's preference {settingName}.
Show the preference with setting code {settingCode}.
POST /v1/users/preference Update a user preference · Update Preference #
Ask an LLM
“How do I change a preference for the current user?”
“Can I update a preference by its setting code?”
Tell an agent
Set preference {settingName} to {value}.
Update the preference with setting code {settingCode} to {value}.
GET /v1/users/sessions List the current user's sessions · User Sessions #
Ask an LLM
“Which sessions is the current user signed in from?”
“Can I export the current user's sessions?”
Tell an agent
List my current sessions.
Export the current user's sessions with {isExporting} set to {isExporting}.
PATCH /v1/users/public-ssh-keys/{id} Deactivate a user's public SSH key · Deactivate SSH Key #
Ask an LLM
“How do I disable a public SSH key a user registered?”
“Can I deactivate an expired SSH key?”
Tell an agent destructive · confirm first
Deactivate public SSH key {id}.
Disable the expired SSH key {id}.
POST /v1/users/change-password Change my own password · Change User Password #
Ask an LLM
“How do I change my own password?”
“What do I need to provide to change my password?”
Tell an agent
Change my password from {currentPassword} to {newPassword}.
Update my own password to {newPassword}.
POST /v1/users/verify-password Verify my own password · Verify the Current User Password #
Ask an LLM
“How do I check that my current password is correct?”
“Can I verify a password without logging in?”
Tell an agent
Verify my password {password}.
Check that {password} is my current password.
POST /v1/users/{userId}/reset-two-factor Reset a user's two-factor authentication · Reset 2FA #
Ask an LLM
“How do I reset two-factor for a user so they set it up again on next login?”
“Can I reset 2FA for a user by ID?”
Tell an agent
Reset two-factor for user {userId}.
Force user {userId} to re-enable 2FA on their next login.
POST /v1/users/{userId}/password-reset Reset a user's password as an admin · Reset a user password as an admin #
Ask an LLM
“How do I reset a user's password as an administrator?”
“Can I reset a user's password without knowing the old one?”
Tell an agent
Reset the password for user {userId}.
Admin reset user {userId}'s password using {data}.
POST /v1/users/delete-pii/{id} Delete a user's PII · Delete a user's personally identifiable info #
Ask an LLM
“How do I remove a user's personal data from Secret Server?”
“Can I wipe personally identifiable info from one user's record?”
Tell an agent destructive · confirm first
Delete the personally identifiable info of user {id}.
Purge personal data from user {id}.
POST /v1/users/{userId}/secret-activity/expire Expire a user's secret access · User Secret Activity Expiration #
Ask an LLM
“How do I revoke all secrets a user has accessed?”
“Can I expire a user's secret activity based on a filter?”
Tell an agent destructive · confirm first
Expire all secrets accessed by user {userId}.
Expire user {userId}'s secret activity matching {data}.
POST /v1/users/{userId}/lock-out Lock out a user · Lock Out #
Ask an LLM
“How do I lock a user out of Secret Server?”
“Can I lock a user out with a reason?”
Tell an agent destructive · confirm first
Lock out user {userId}.
Lock out user {userId} with reason {data}.
POST /v1/users/sessions/terminate Terminate my own sessions · Terminate Current User Sessions #
Ask an LLM
“How do I sign myself out of all my sessions?”
“Can I end every session I'm logged in from right now?”
Tell an agent destructive · confirm first
Terminate all my current sessions.
Sign me out of every session I'm in.
PUT /v1/users/doublelock-password Set a user's double-lock password · Update Users Doublelock Password #
Ask an LLM
“How do I set the double-lock password for a user?”
“Can I update a user's doublelock password?”
Tell an agent
Set the double-lock password to {password}.
Update the user's doublelock password.

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/delinea:delinea-users-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

delinea-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Secret Server Rest Users API
  description: REST API documentation for Secret Server. This document describes how to use the REST API. All requests require an authentication token; please see the authentication document for more information. The Swagger specification for this API is also available.
  termsOfService: https://delinea.com/eula
  contact:
    name: Support
    url: https://delinea.com
  version: 11.7.2
servers:
- url: /SecretServer/api
security:
- BearerToken: []
tags:


# --- truncated at 32 KB (134 KB total) ---
# Full source: https://artifacts.apis.io/delinea/openapi/delinea-users-api-openapi.yml