Delinea SecretPolicy API

Retrieve and update Secret Policies

Operations 7

GET /v1/secret-policy/search Search Secret Policies #
GET /v2/secret-policy/stub Get Secret Policy Stub #
GET /v2/secret-policy/{id} Get Secret Policy #
PATCH /v2/secret-policy/{id} Update a Secret Policy #
GET /v1/secret-policy/{id}/audit Get Secret Policy Audits #
GET /v1/secret-policy/{id}/status Get the Secret Policy status #
POST /v2/secret-policy Create a Secret Policy #

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-secretpolicy-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-secretpolicy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Secret Server Rest Activations Secret Policy 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: SecretPolicy
  description: Retrieve and update Secret Policies
paths:
  /v1/secret-policy/search:
    get:
      tags:
      - SecretPolicy
      summary: Search Secret Policies
      description: Search Secret Policies
      operationId: SecretPolicyService_SearchSecretPolicies
      parameters:
      - name: filter.includeInactive
        in: query
        description: Whether or not to include inactive secret policies
        required: false
        schema:
          type: boolean
      - name: filter.secretPolicyName
        in: query
        description: Results will contain this text in the policy name
        required: false
        schema:
          type: string
      - 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: Secret Policies that matched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfSecretPolicyModel'
        '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
  /v2/secret-policy/stub:
    get:
      tags:
      - SecretPolicy
      summary: Get Secret Policy Stub
      description: Get Secret Policy
      operationId: SecretPolicyService_GetSecretPolicyStubV2
      responses:
        '200':
          description: Stub of a Secret Policy Detail model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretPolicyDetailModelV2'
        '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
  /v2/secret-policy/{id}:
    get:
      tags:
      - SecretPolicy
      summary: Get Secret Policy
      description: Get Secret Policy for passed in Id
      operationId: SecretPolicyService_GetSecretPolicyV2
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Secret Policy if found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretPolicyDetailModelV2'
        '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:
      - SecretPolicy
      summary: Update a Secret Policy
      description: Update a Secret Policy and return detail model
      operationId: SecretPolicyService_UpdateSecretPolicyV2
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecretPolicyUpdateArgsV2'
        description: args
      responses:
        '200':
          description: Secret Policy that was updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretPolicyDetailModelV2'
        '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/secret-policy/{id}/audit:
    get:
      tags:
      - SecretPolicy
      summary: Get Secret Policy Audits
      description: Get Secret Policy Audits for passed in Id
      operationId: SecretPolicyService_GetSecretPolicyAudit
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      - name: isExporting
        in: query
        description: isExporting
        required: false
        schema:
          type: boolean
      - 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: Secret Policy Audits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IPagingOfSecretPolicyAuditSummary'
        '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/secret-policy/{id}/status:
    get:
      tags:
      - SecretPolicy
      summary: Get the Secret Policy status
      description: Gets the status of what secrets and folders the policy is applied to.
      operationId: SecretPolicyService_GetSecretPolicyStatus
      parameters:
      - name: id
        in: path
        description: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Secret Policy status for queried policy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretPolicyStatusModel'
        '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
  /v2/secret-policy:
    post:
      tags:
      - SecretPolicy
      summary: Create a Secret Policy
      description: Create a Secret Policy and return detail model
      operationId: SecretPolicyService_CreateSecretPolicyV2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecretPolicyCreateArgsV2'
        description: args
      responses:
        '200':
          description: Secret Policy that was created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretPolicyDetailModelV2'
        '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
components:
  schemas:
    UserGroupMapType:
      description: User Group Map Type
      properties: {}
      type: string
      enum:
      - User
      - Group
    SecretPolicyItemOfUserGroupMapModelArray:
      description: Array of UserGroupMaps depends on Require Approval For Access being set
      properties:
        parentPolicyItemId:
          description: ParentPolicyItemId
          type:
          - integer
          - 'null'
          format: int32
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        policyItemId:
          description: PolicyItemId
          type: integer
          format: int32
        value:
          description: Value
          items:
            $ref: '#/components/schemas/UserGroupMapModel'
          type: array
      type: object
    UpdateFieldValueOfSecretPolicyDataItemOfLauncherSettingsData:
      description: RDP Launcher Settings as defined by the Secret Policy
      properties:
        dirty:
          description: Dirty
          type: boolean
        value:
          $ref: '#/components/schemas/SecretPolicyDataItemOfLauncherSettingsData'
      type: object
    SecretPolicyRpcItemsCreateModel:
      description: Secret Policy RPC Items Create Model
      properties:
        associatedSecretId1:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalInt32'
        associatedSecretId2:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalInt32'
        autoChangeOnExpiration:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalBoolean'
        autoChangeSchedule:
          $ref: '#/components/schemas/SecretPolicyDataItemOfAutoChangeScheduleDataModel'
        heartBeatEnabled:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalBoolean'
        passwordTypeWebScriptId:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalInt32'
        privilegedSecretId:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalInt32'
      type: object
    SecretPolicyDataItemOfOptionalGuid:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          description: Value
          type:
          - string
          - 'null'
          format: uuid
      type: object
    SecretPolicyDataItemOfSshCommandMenuGroupModelArray:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          description: Value
          items:
            $ref: '#/components/schemas/SshCommandMenuGroupModel'
          type: array
      type: object
    SecretPolicyGeneralItemsModel:
      description: Secret Policy General Item Model
      properties:
        jumpboxRouteId:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalGuid'
        siteId:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalInt32'
      type: object
    Severity:
      description: Error severity level
      properties: {}
      type: string
      enum:
      - None
      - Retry
      - Warn
      - Critical
      - Fatal
    SecretPolicyCreateArgsV2:
      description: SecretPolicyCreateArgsV2
      properties:
        data:
          $ref: '#/components/schemas/SecretPolicyCreateModelV2'
      type: object
    SecretPolicyGeneralItemsCreateModel:
      description: Secret Policy General Create Item Model
      properties:
        jumpboxRouteId:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalGuid'
        siteId:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalInt32'
      type: object
    SecretPolicyGeneralItemsUpdateModel:
      description: Secret Policy General Update Item Model
      properties:
        jumpboxRouteId:
          $ref: '#/components/schemas/UpdateFieldValueOfSecretPolicyDataItemOfOptionalGuid'
        siteId:
          $ref: '#/components/schemas/UpdateFieldValueOfSecretPolicyDataItemOfOptionalInt32'
      type: object
    SecretPolicyItemOfOptionalGuid:
      description: Jumpbox Route Id
      properties:
        parentPolicyItemId:
          description: ParentPolicyItemId
          type:
          - integer
          - 'null'
          format: int32
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        policyItemId:
          description: PolicyItemId
          type: integer
          format: int32
        value:
          description: Value
          type:
          - string
          - 'null'
          format: uuid
      type: object
    SecretPolicyItemOfSshCommandMenuGroupMapModelArray:
      description: Array of Ssh Command Menu Groups depends on Ssh Command Restriction Type being set
      properties:
        parentPolicyItemId:
          description: ParentPolicyItemId
          type:
          - integer
          - 'null'
          format: int32
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        policyItemId:
          description: PolicyItemId
          type: integer
          format: int32
        value:
          description: Value
          items:
            $ref: '#/components/schemas/SshCommandMenuGroupMapModel'
          type: array
      type: object
    SecretPolicyDataItemOfOptionalInt32:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          description: Value
          type:
          - integer
          - 'null'
          format: int32
      type: object
    UserGroupMapModel:
      description: User Group Map Model
      properties:
        displayName:
          description: Group Name
          type: string
        groupId:
          description: Group Id
          type: integer
          format: int32
        userGroupMapType:
          $ref: '#/components/schemas/UserGroupMapType'
      type: object
    BadRequestResponse:
      description: Response object for invalid requests
      required:
      - message
      properties:
        message:
          description: Error message
          type: string
        messageDetail:
          description: Error message detail
          type: string
        errorCode:
          description: Error message code
          type: string
        modelState:
          description: An object describing validation errors
          type: object
      type: object
    LauncherSettingsModel:
      description: RDP Launcher Settings
      properties:
        allowClipboard:
          description: Allow Clipboard
          type: boolean
        allowDrives:
          description: Allow Drives
          type: boolean
        allowPrinters:
          description: Allow Printers
          type: boolean
        allowSmartCards:
          description: Allow SmartCards
          type: boolean
        connectToConsole:
          description: Connect To Console
          type: boolean
        launcherHeight:
          description: Launcher Height
          type:
          - integer
          - 'null'
          format: int32
        launcherWidth:
          description: Launcher Height
          type:
          - integer
          - 'null'
          format: int32
        useCustomLauncherResolution:
          description: Use Custom Launcher Resolution
          type: boolean
      type: object
    SecretPolicySecurityItemsModel:
      description: Secret Policy Security Item Model
      properties:
        allowOwnersUnrestrictedSshCommands:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        approvalGroups:
          $ref: '#/components/schemas/SecretPolicyItemOfUserGroupMapModelArray'
        approvalWorkflow:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalInt32'
        checkOutChangePassword:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        checkOutEnabled:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        checkOutIntervalMinutes:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalInt32'
        enableSshCommandRestrictions:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        eventPipelinePolicy:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalInt32'
        hideLauncherPassword:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        isMultiFactorAuthenticationRequired:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        isProxyEnabled:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        isSessionRecordingEnabled:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        requireApprovalForAccess:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        requireApprovalForAccessForEditors:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        requireApprovalForAccessForOwnersAndApprovers:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        requireViewComment:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
        runLauncherUsingSSHKeySecretId:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalInt32'
        sshCommandBlocklistEditors:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalGuid'
        sshCommandBlocklistOwners:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalGuid'
        sshCommandBlocklistViewers:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalGuid'
        sshCommandMenuGroups:
          $ref: '#/components/schemas/SecretPolicyItemOfSshCommandMenuGroupMapModelArray'
        sshCommandRestrictionType:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalCommandRestrictionType'
      type: object
    SecretPolicyDataItemOfAutoChangeScheduleDataModel:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          $ref: '#/components/schemas/AutoChangeScheduleDataModel'
      type: object
    SecretPolicyItemOfOptionalBoolean:
      description: Web Launcher Requires Incognito Mode
      properties:
        parentPolicyItemId:
          description: ParentPolicyItemId
          type:
          - integer
          - 'null'
          format: int32
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        policyItemId:
          description: PolicyItemId
          type: integer
          format: int32
        value:
          description: Value
          type:
          - boolean
          - 'null'
      type: object
    PolicyApplyType:
      description: PolicyApplyType
      properties: {}
      type: string
      enum:
      - NotSet
      - Default
      - Enforced
    SecretPolicyLauncherItemsModel:
      description: Secret Policy Launcher Item Model
      properties:
        launcherSettings:
          $ref: '#/components/schemas/SecretPolicyItemOfLauncherSettingsModel'
        webLauncherRequiresIncognitoMode:
          $ref: '#/components/schemas/SecretPolicyItemOfOptionalBoolean'
      type: object
    SecretPolicyItemOfAutoChangeScheduleModel:
      description: Auto Change Schedule depends on Auto Change On Expiration being set
      properties:
        parentPolicyItemId:
          description: ParentPolicyItemId
          type:
          - integer
          - 'null'
          format: int32
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        policyItemId:
          description: PolicyItemId
          type: integer
          format: int32
        value:
          $ref: '#/components/schemas/AutoChangeScheduleModel'
      type: object
    SecretPolicyDataItemOfUserGroupMapDataModelArray:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          description: Value
          items:
            $ref: '#/components/schemas/UserGroupMapDataModel'
          type: array
      type: object
    AuthenticationFailedResponse:
      description: Response object for authentication failures
      required:
      - message
      properties:
        message:
          description: Error message
          type: string
      type: object
    SecretPolicyDetailModelV2:
      description: Secret Policy Detail Model V2
      properties:
        active:
          description: Indicates the policy is active
          type: boolean
        affectedFolderCount:
          description: The count of total folders that would be affected by changing this policy
          type: integer
          format: int32
        affectedInheritingFoldersCount:
          description: The count of inherited secrets that would be affected by changing this policy
          type: integer
          format: int32
        affectedInheritingSecretsCount:
          description: The count of inherited secrets that would be affected by changing this policy
          type: integer
          format: int32
        affectedSecretCount:
          description: The count of total secrets that would be affected by changing this policy
          type: integer
          format: int32
        generalItems:
          $ref: '#/components/schemas/SecretPolicyGeneralItemsModel'
        launcherItems:
          $ref: '#/components/schemas/SecretPolicyLauncherItemsModel'
        rpcItems:
          $ref: '#/components/schemas/SecretPolicyRpcItemsModel'
        secretPolicyDescription:
          description: Secret Policy Description
          type: string
        secretPolicyId:
          description: Secret Policy Id
          type:
          - integer
          - 'null'
          format: int32
        secretPolicyName:
          description: Secret Policy Name
          type: string
        securityItems:
          $ref: '#/components/schemas/SecretPolicySecurityItemsModel'
      type: object
    SecretPolicyDataItemOfOptionalBoolean:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          description: Value
          type:
          - boolean
          - 'null'
      type: object
    UserGroupMapDataModel:
      description: User Group Map Data Model
      properties:
        groupId:
          description: User/Group Id
          type: integer
          format: int32
        userGroupMapType:
          $ref: '#/components/schemas/UserGroupMapType'
      type: object
    SshCommandMenuGroupMapModel:
      description: Ssh Command Menu Group Map Model
      properties:
        groupId:
          description: Group Id
          type: integer
          format: int32
        sshCommandMenuId:
          description: Ssh Command Menu Id
          type:
          - integer
          - 'null'
          format: int32
        sshCommandMenuName:
          description: Ssh Command Menu Name
          type: string
        userGroupDisplayName:
          description: User Or Group Display Name
          type: string
        userGroupMapType:
          $ref: '#/components/schemas/UserGroupMapType'
      type: object
    SecretPolicyDataItemOfOptionalCommandRestrictionType:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          description: Value
          type:
          - string
          - 'null'
      type: object
    SecretPolicyUpdateArgsV2:
      description: SecretPolicyUpdateArgsV2
      properties:
        data:
          $ref: '#/components/schemas/SecretPolicyUpdateModelV2'
      type: object
    PagingOfSecretPolicyModel:
      description: Specify paging and sorting options for querying records and returning results
      properties:
        batchCount:
          description: Number of result batches available with current query options
          type: integer
          format: int32
        currentPage:
          description: Index of current result page
          type: integer
          format: int32
        hasNext:
          description: Whether there are any results in additional pages
          type: boolean
        hasPrev:
          description: Whether there are any results in previous pages
          type: boolean
        nextSkip:
          description: Correct value of 'skip' for the next page of results
          type: integer
          format: int32
        pageCount:
          description: Number of result pages available with current query options
          type: integer
          format: int32
        prevSkip:
          description: Correct value of 'skip' for the previous page of results
          type: integer
          format: int32
        records:
          description: Query results
          items:
            $ref: '#/components/schemas/SecretPolicyModel'
          type: array
        severity:
          $ref: '#/components/schemas/Severity'
        skip:
          description: Number of records to skip before taking results
          type: integer
          format: int32
        sortBy:
          description: List of sort properties
          items:
            $ref: '#/components/schemas/Sort'
          type: array
        success:
          description: Whether the query executed successfully
          type: boolean
        take:
          description: Maximum number of records to include in results
          type: integer
          format: int32
        total:
          description: Total number of results available
          type: integer
          format: int32
      type: object
    SecretPolicyUpdateModelV2:
      description: Secret Policy Update Model V2
      properties:
        active:
          $ref: '#/components/schemas/UpdateFieldValueOfBoolean'
        generalItems:
          $ref: '#/components/schemas/SecretPolicyGeneralItemsUpdateModel'
        launcherItems:
          $ref: '#/components/schemas/SecretPolicyLauncherItemsUpdateModel'
        rpcItems:
          $ref: '#/components/schemas/SecretPolicyRpcItemsUpdateModel'
        secretPolicyDescription:
          $ref: '#/components/schemas/UpdateFieldValueOfString'
        secretPolicyName:
          $ref: '#/components/schemas/UpdateFieldValueOfString'
        securityItems:
          $ref: '#/components/schemas/SecretPolicySecurityItemsUpdateModel'
      type: object
    SecretPolicyItemOfLauncherSettingsModel:
      description: Launcher Settings defined by the secret policy
      properties:
        parentPolicyItemId:
          description: ParentPolicyItemId
          type:
          - integer
          - 'null'
          format: int32
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        policyItemId:
          description: PolicyItemId
          type: integer
          format: int32
        value:
          $ref: '#/components/schemas/LauncherSettingsModel'
      type: object
    IPagingOfSecretPolicyAuditSummary:
      description: IPagingOfSecretPolicyAuditSummary
      properties:
        records:
          description: Records
          items:
            $ref: '#/components/schemas/SecretPolicyAuditSummary'
          type: array
        sortBy:
          description: SortBy
          items:
            $ref: '#/components/schemas/Sort'
          type: array
      type: object
    UpdateFieldValueOfSecretPolicyDataItemOfOptionalInt32:
      description: Site Id
      properties:
        dirty:
          description: Dirty
          type: boolean
        value:
          $ref: '#/components/schemas/SecretPolicyDataItemOfOptionalInt32'
      type: object
    SecretPolicyDataItemOfLauncherSettingsData:
      description: Value
      properties:
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        value:
          $ref: '#/components/schemas/LauncherSettingsData'
      type: object
    Sort:
      description: Sort options. Multiple sort options can be provided in the query string.
      required:
      - name
      - direction
      properties:
        direction:
          $ref: '#/components/schemas/SortDirection'
        name:
          description: Sort field name
          type: string
        priority:
          description: Priority index. Sorts with lower values are executed earlier
          type: integer
          format: int32
      type: object
    SecretPolicyItemOfOptionalInt32:
      description: Site Id
      properties:
        parentPolicyItemId:
          description: ParentPolicyItemId
          type:
          - integer
          - 'null'
          format: int32
        policyApplyType:
          $ref: '#/components/schemas/PolicyApplyType'
        policyItemId:
          description: PolicyItemId
          type: integer
          format: int32
        value:
          description: Value
          type:
          - integer
          - 'null'
          format: int32
      type: object
    SecretPolicyCreateModelV2:
      description: Secret Policy Create Model V2
      properties:
        active:
          description: Indicates the policy is active
          type: boo

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