Delinea Users API

View and maintain users

Operations 45

GET /v1/users/{id} Get User #
PUT /v1/users/{id} Update User #
DELETE /v1/users/{id} Delete User #
PATCH /v1/users/{id} Update included properties for user by Id #
GET /v1/users/{id}/owners/{ownerId} Get User Owner #
DELETE /v1/users/{id}/owners/{ownerId} Remove User Owner #
GET /v1/users/{id}/roles Gets roles for user #
PUT /v1/users/{id}/roles Update all roles on user #
POST /v1/users/{id}/roles Add roles to existing user #
DELETE /v1/users/{id}/roles Remove roles from existing user #
GET /v1/users/{id}/groups Get User Groups #
PUT /v1/users/{id}/groups Update all groups on user #
POST /v1/users/{id}/groups Add groups to existing user #
DELETE /v1/users/{id}/groups Remove groups from existing user #
GET /v1/users Search Users #
POST /v1/users Create User #
GET /v1/users/current-summary Current User Summary #
GET /v1/users/current Current User #
GET /v1/users/lookup Lookup Users #
GET /v1/users/stub Get User Stub #
GET /v1/users/platform/{platformUserId} Get User by External Platform User ID #
GET /v1/users/public-ssh-keys Get User Public Ssh Keys #
POST /v1/users/public-ssh-keys Create a User Ssh Key #
GET /v1/users/{id}/owners Get User Owners #
POST /v1/users/{id}/owners Add User Owner #
PATCH /v1/users/{id}/owners Add and remove the owners on the user #
GET /v1/domains Get Domains #
GET /v1/users/{userId}/roles-assigned Get User Roles #
GET /v1/users/{userId}/audit User Audits #
GET /v1/users/{userId}/secret-activity User Secret Activity #
GET /v1/users/action/audit User Audits by Action #
GET /v1/users/{userId}/teams User Teams #
GET /v1/users/preference Get Preference #
POST /v1/users/preference Update Preference #
GET /v1/users/sessions User Sessions #
PATCH /v1/users/public-ssh-keys/{id} Deactivate SSH Key #
POST /v1/users/change-password Change User Password #
POST /v1/users/verify-password Verify the Current User Password #
POST /v1/users/{userId}/reset-two-factor Reset 2FA #
POST /v1/users/{userId}/password-reset Reset a user password as an admin #
POST /v1/users/delete-pii/{id} Delete a user's personally identifiable info #
POST /v1/users/{userId}/secret-activity/expire User Secret Activity Expiration #
POST /v1/users/{userId}/lock-out Lock Out #
POST /v1/users/sessions/terminate Terminate Current User Sessions #
PUT /v1/users/doublelock-password Update Users Doublelock Password #

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-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

OpenAPI Specification

delinea-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Secret Server Rest Activations 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 <a href="../OAuth/">authentication document</a> for more information. The <a href="swagger.json">Swagger specification</a> 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:
- name: Users
  description: View and maintain users
paths:
  /v1/users/{id}:
    get:
      tags:
      - Users
      summary: Get User
      description: Get a single user by ID
      operationId: UsersService_Get
      parameters:
      - name: includeInactive
        in: query
        description: Whether to include inactive users in the results
        required: false
        schema:
          type: boolean
      - name: id
        in: path
        description: User ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: User object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    put:
      tags:
      - Users
      summary: Update User
      description: Update a single user by ID
      operationId: UsersService_UpdateUser
      parameters:
      - name: id
        in: path
        description: User ID
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserUpdateArgs'
        description: User update options
      responses:
        '200':
          description: User object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    delete:
      tags:
      - Users
      summary: Delete User
      description: Delete a user by ID
      operationId: UsersService_Delete
      parameters:
      - name: id
        in: path
        description: User ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Object deletion result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    patch:
      tags:
      - Users
      summary: Update included properties for user by Id
      description: Update included properties for user by Id
      operationId: UsersService_PatchUser
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchUserModel'
        description: patchModel
      responses:
        '200':
          description: User Configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/{id}/owners/{ownerId}:
    get:
      tags:
      - Users
      summary: Get User Owner
      description: Get a single owner for a user
      operationId: UsersService_GetUserOwner
      parameters:
      - name: id
        in: path
        description: User ID
        required: true
        schema:
          type: integer
          format: int32
      - name: ownerId
        in: path
        description: Owner ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: User owner object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserOwnerModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    delete:
      tags:
      - Users
      summary: Remove User Owner
      description: Remove an owner from a single user
      operationId: UsersService_DeleteUserOwner
      parameters:
      - name: id
        in: path
        description: User ID
        required: true
        schema:
          type: integer
          format: int32
      - name: ownerId
        in: path
        description: Owner ID is the unique sequence for this specific owner.  This is returned as ID on UserOwnerModel
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Object deletion result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/{id}/roles:
    get:
      tags:
      - Users
      summary: Gets roles for user
      description: Gets roles for user
      operationId: UsersService_GetRoles
      parameters:
      - name: skip
        in: query
        description: Number of records to skip before taking results
        required: false
        schema:
          type: integer
          format: int32
      - name: sortBy[0].direction
        in: query
        description: Sort direction
        required: false
        schema:
          type: string
      - name: sortBy[0].name
        in: query
        description: Sort field name
        required: false
        schema:
          type: string
      - name: sortBy[0].priority
        in: query
        description: Priority index. Sorts with lower values are executed earlier
        required: false
        schema:
          type: integer
          format: int32
      - name: take
        in: query
        description: Maximum number of records to include in results
        required: false
        schema:
          type: integer
          format: int32
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success / Fail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfRoleSummary'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    put:
      tags:
      - Users
      summary: Update all roles on user
      description: Update all roles on user
      operationId: UsersService_UpdateUserRoles
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        $ref: '#/components/requestBodies/RoleAssignments'
      responses:
        '200':
          description: Success / Fail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleChangeStatusModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    post:
      tags:
      - Users
      summary: Add roles to existing user
      description: Add roles to existing user
      operationId: UsersService_CreateUserRoles
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        $ref: '#/components/requestBodies/RoleAssignments'
      responses:
        '200':
          description: Success / Fail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleChangeStatusModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    delete:
      tags:
      - Users
      summary: Remove roles from existing user
      description: Remove roles from existing user
      operationId: UsersService_DeleteUserRoles
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        $ref: '#/components/requestBodies/RoleRemovals'
      responses:
        '200':
          description: Success / Fail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleChangeStatusModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/{id}/groups:
    get:
      tags:
      - Users
      summary: Get User Groups
      description: Get the groups for a user by ID
      operationId: UsersService_GetUserGroups
      parameters:
      - name: id
        in: path
        description: User ID
        required: true
        schema:
          type: integer
          format: int32
      - name: skip
        in: query
        description: Number of records to skip before taking results
        required: false
        schema:
          type: integer
          format: int32
      - name: sortBy[0].direction
        in: query
        description: Sort direction
        required: false
        schema:
          type: string
      - name: sortBy[0].name
        in: query
        description: Sort field name
        required: false
        schema:
          type: string
      - name: sortBy[0].priority
        in: query
        description: Priority index. Sorts with lower values are executed earlier
        required: false
        schema:
          type: integer
          format: int32
      - name: take
        in: query
        description: Maximum number of records to include in results
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Group membership results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfGroupUserSummary'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    put:
      tags:
      - Users
      summary: Update all groups on user
      description: Update all groups on user
      operationId: UsersService_UpdateUserGroups
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        $ref: '#/components/requestBodies/GroupAssignments'
      responses:
        '200':
          description: Success / Fail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupChangeStatusModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    post:
      tags:
      - Users
      summary: Add groups to existing user
      description: Add groups to existing user
      operationId: UsersService_AddUserToGroups
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        $ref: '#/components/requestBodies/GroupAssignments'
      responses:
        '200':
          description: Success / Fail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupChangeStatusModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    delete:
      tags:
      - Users
      summary: Remove groups from existing user
      description: Remove groups from existing user
      operationId: UsersService_RemoveUserGroups
      parameters:
      - name: groupIds
        in: query
        description: groupIds
        required: false
        explode: true
        schema:
          type: array
          items:
            type: integer
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success / Fail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupChangeStatusModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users:
    get:
      tags:
      - Users
      summary: Search Users
      description: Search, filter, sort, and page users
      operationId: UsersService_SearchUsers
      parameters:
      - name: filter.domainId
        in: query
        description: If not null, filters users by Active Directory domain.
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.excludeInboxRuleIdSubscribers
        in: query
        description: When set all subscribers not subscribed directly to this inbox notification rule will be excluded.
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.includeInactive
        in: query
        description: Whether to include inactive users in the results.
        required: false
        schema:
          type: boolean
      - name: filter.searchFields
        in: query
        description: User fields to search.
        required: false
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: filter.searchText
        in: query
        description: The text to match in the username, display name, or email address.
        required: false
        schema:
          type: string
      - name: filter.userIds
        in: query
        description: User Ids to search.
        required: false
        explode: true
        schema:
          type: array
          items:
            type: integer
      - name: skip
        in: query
        description: Number of records to skip before taking results
        required: false
        schema:
          type: integer
          format: int32
      - name: sortBy[0].direction
        in: query
        description: Sort direction
        required: false
        schema:
          type: string
      - name: sortBy[0].name
        in: query
        description: Sort field name
        required: false
        schema:
          type: string
      - name: sortBy[0].priority
        in: query
        description: Priority index. Sorts with lower values are executed earlier
        required: false
        schema:
          type: integer
          format: int32
      - name: take
        in: query
        description: Maximum number of records to include in results
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: User search result object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfUserSummary'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
    post:
      tags:
      - Users
      summary: Create User
      description: Create a new user
      operationId: UsersService_CreateUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserCreateArgs'
        description: User creation options
      responses:
        '200':
          description: User object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/current-summary:
    get:
      tags:
      - Users
      summary: Current User Summary
      description: Gets the current user summary
      operationId: UsersService_GetCurrentUserSummary
      responses:
        '200':
          description: Current user summary result object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentUserSummaryModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/current:
    get:
      tags:
      - Users
      summary: Current User
      description: Gets the current user
      operationId: UsersService_GetCurrentUser
      responses:
        '200':
          description: Current user result object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentUserModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/lookup:
    get:
      tags:
      - Users
      summary: Lookup Users
      description: Search, filter, sort, and page users, returning only user ID and name
      operationId: UsersService_Lookup
      parameters:
      - name: filter.domainId
        in: query
        description: If not null, filters users by Active Directory domain.
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.excludeInboxRuleIdSubscribers
        in: query
        description: When set all subscribers not subscribed directly to this inbox notification rule will be excluded.
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.includeInactive
        in: query
        description: Whether to include inactive users in the results.
        required: false
        schema:
          type: boolean
      - name: filter.searchFields
        in: query
        description: User fields to search.
        required: false
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: filter.searchText
        in: query
        description: The text to match in the username, display name, or email address.
        required: false
        schema:
          type: string
      - name: filter.userIds
        in: query
        description: User Ids to search.
        required: false
        explode: true
        schema:
          type: array
          items:
            type: integer
      - name: skip
        in: query
        description: Number of records to skip before taking results
        required: false
        schema:
          type: integer
          format: int32
      - name: sortBy[0].direction
        in: query
        description: Sort direction
        required: false
        schema:
          type: string
      - name: sortBy[0].name
        in: query
        description: Sort field name
        required: false
        schema:
          type: string
      - name: sortBy[0].priority
        in: query
        description: Priority index. Sorts with lower values are executed earlier
        required: false
        schema:
          type: integer
          format: int32
      - name: take
        in: query
        description: Maximum number of records to include in results
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: User search result object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfUserLookup'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/stub:
    get:
      tags:
      - Users
      summary: Get User Stub
      description: Return the default values for a new user
      operationId: UsersService_Stub
      responses:
        '200':
          description: Default User
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/platform/{platformUserId}:
    get:
      tags:
      - Users
      summary: Get User by External Platform User ID
      description: Get a single user by the External Platform User ID
      operationId: UsersService_GetUserByPlatformId
      parameters:
      - name: includeInactive
        in: query
        description: Whether to include inactive users in the results
        required: false
        schema:
          type: boolean
      - name: platformUserId
        in: path
        description: User Platform Guid
        required: true
        schema:
          type: string
      responses:
        '200':
          description: User object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserModel'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '403':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationFailedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      deprecated: false
  /v1/users/public-ssh-keys:
    get:
      tags:
      - Users
      summary: Get User Public Ssh Keys
      description: Get the public ssh keys for a user by ID
      operationId: UsersService_GetUserPublicSshKeys
      parameters:
      - name: filter.includeExpired
     

# --- truncated at 32 KB (135 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/delinea/refs/heads/main/openapi/delinea-users-api-openapi.yml