Delinea Metadata API

MetadataController

Operations 8

DELETE /v1/metadata/{itemType}/{itemId}/{metadataItemDataId} Delete Metadata #
GET /v1/metadata Search metadata #
GET /v1/metadata/history Search metadata history #
GET /v1/metadata/field-sections Get metadata field sections #
GET /v1/metadata/fields Get metadata fields #
POST /v1/metadata/{itemType}/{itemId} Create Metadata #
PATCH /v1/metadata/{itemType}/{itemId} Update or Create Metadata #
PATCH /v1/metadata/field-sections/{fieldSectionId} Update a metadata field section #

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-metadata-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-metadata-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Secret Server Rest Activations Metadata 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: Metadata
  description: MetadataController
paths:
  /v1/metadata/{itemType}/{itemId}/{metadataItemDataId}:
    delete:
      tags:
      - Metadata
      summary: Delete Metadata
      description: Deletes the metadata value and all history for that item
      operationId: MetadataService_DeleteMetadata
      parameters:
      - name: itemId
        in: path
        description: The item ID of the entity to which this metadata is associated
        required: true
        schema:
          type: integer
          format: int32
      - name: itemType
        in: path
        description: The type of entity to which this metadata is associated
        required: true
        schema:
          type: string
      - name: metadataItemDataId
        in: path
        description: The sequence ID of the metadata record to delete
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetadataDeleteResponse'
        '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/metadata:
    get:
      tags:
      - Metadata
      summary: Search metadata
      description: Search, filter, sort, and page metadata
      operationId: MetadataService_SearchMetadata
      parameters:
      - name: filter.itemId
        in: query
        description: Will only return metadata for this entity ID.  MetadataType will also be required.
        required: false
        schema:
          type: integer
          format: int32
      - name: filter.metaDataFieldId
        in: query
        description: Return a specific metadata field
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.metadataType
        in: query
        description: Will only return metadata for this type.  ItemId will also be required.
        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: Metadata search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfMetadataSummaryModel'
        '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/metadata/history:
    get:
      tags:
      - Metadata
      summary: Search metadata history
      description: Search, filter, sort, and page metadata history
      operationId: MetadataService_SearchMetadataHistory
      parameters:
      - name: isExporting
        in: query
        description: isExporting
        required: false
        schema:
          type: boolean
      - name: filter.endDate
        in: query
        description: Only return history metadata values that were entered before this time
        required: false
        x-nullable: true
        schema:
          type: string
          format: date-time
      - name: filter.itemId
        in: query
        description: Will only return metadata for this entity ID.  MetadataType will also be required.
        required: false
        schema:
          type: integer
          format: int32
      - name: filter.metaDataFieldId
        in: query
        description: Return a specific metadata field
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.metadataType
        in: query
        description: Will only return metadata for this type.  ItemId will also be required.
        required: false
        schema:
          type: string
      - name: filter.startDate
        in: query
        description: Only return history metadata values that were entered after this time
        required: false
        x-nullable: true
        schema:
          type: string
          format: date-time
      - 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: Metadata search history results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfMetadataHistorySummaryModel'
        '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/metadata/field-sections:
    get:
      tags:
      - Metadata
      summary: Get metadata field sections
      description: Return all of the metadata sections that have metadata for a specific item.
      operationId: MetadataService_GetFieldSections
      parameters:
      - name: filter.itemId
        in: query
        description: Return sections that have metadata for this specific item id.  MetadataType will be required.
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.metadataSectionFilterId
        in: query
        description: Return a specific Metadata Section Field ID.
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: filter.metadataType
        in: query
        description: Only return metadata for a specific type of item.  Will also required an ItemId
        required: false
        x-nullable: true
        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: Metadata Sections that match criteria.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfMetadataFieldSectionSummaryModel'
        '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/metadata/fields:
    get:
      tags:
      - Metadata
      summary: Get metadata fields
      description: Returns a list of all of the metadata sections and fields that exist
      operationId: MetadataService_GetFields
      responses:
        '200':
          description: Metadata Fields that exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagingOfMetadataFieldSummaryModel'
        '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/metadata/{itemType}/{itemId}:
    post:
      tags:
      - Metadata
      summary: Create Metadata
      description: Create or update a metadata field for an item
      operationId: MetadataService_CreateMetadata
      parameters:
      - name: itemId
        in: path
        description: The item ID of the entity to which this metadata is associated
        required: true
        schema:
          type: integer
          format: int32
      - name: itemType
        in: path
        description: The type of entity to which this metadata is associated
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetadataCreateArgs'
        description: args
      responses:
        '200':
          description: Newly created or updated MetadataModel
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetadataModel'
        '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:
      - Metadata
      summary: Update or Create Metadata
      description: Update or create a metadata field for an item
      operationId: MetadataService_UpdateMetadata
      parameters:
      - name: itemId
        in: path
        description: The item ID of the entity to which this metadata is associated
        required: true
        schema:
          type: integer
          format: int32
      - name: itemType
        in: path
        description: The type of entity to which this metadata is associated
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetadataUpdateArgs'
        description: args
      responses:
        '200':
          description: Newly created or updated MetadataModel
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetadataModel'
        '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/metadata/field-sections/{fieldSectionId}:
    patch:
      tags:
      - Metadata
      summary: Update a metadata field section
      description: Update a metadata field section
      operationId: MetadataService_UpdateMetadataFieldSection
      parameters:
      - name: fieldSectionId
        in: path
        description: The section ID of the field to which this metadata is associated
        required: true
        schema:
          type: integer
          format: int32
      - name: itemId
        in: query
        description: The item ID of the entity to which this metadata is associated
        required: false
        x-nullable: true
        schema:
          type: integer
          format: int32
      - name: itemType
        in: query
        description: The type of entity to which this metadata is associated
        required: false
        x-nullable: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetadataFieldSectionUpdateArgs'
        description: args
      responses:
        '200':
          description: Updated metadata field section
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetadataFieldSectionSummaryModel'
        '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:
    MetadataUpdateArgs:
      description: Metadata update args
      properties:
        data:
          $ref: '#/components/schemas/MetadataUpdateModel'
      type: object
    PagingOfMetadataFieldSectionSummaryModel:
      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/MetadataFieldSectionSummaryModel'
          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
    UpdateFieldValueOfOptionalDateTime:
      description: Update when the pinned folder was last viewed
      properties:
        dirty:
          description: Dirty
          type: boolean
        value:
          description: Value
          type:
          - string
          - 'null'
          format: date-time
      type: object
    MetadataCreateArgs:
      description: Create metadata args
      properties:
        data:
          $ref: '#/components/schemas/MetadataCreateModel'
      type: object
    MetadataFieldSummaryModel:
      description: Metadata field summary
      properties:
        containsPersonalInformation:
          description: When this is set to true, the metadata will be obfuscated during export
          type: boolean
        defaultSortOrder:
          description: Not currently utilized but the sort order for the metadata
          type:
          - integer
          - 'null'
          format: int32
        fieldDataType:
          $ref: '#/components/schemas/EntityMetadataFieldDataType'
        metadataFieldId:
          description: The sequence ID for this metadata field
          type:
          - integer
          - 'null'
          format: int32
        metadataFieldName:
          description: The name of this metadata field
          type: string
        metadataFieldSectionId:
          description: The field section id that contains this field
          type:
          - integer
          - 'null'
          format: int32
        metadataFieldSectionName:
          description: The name of the field section
          type: string
      type: object
    Severity:
      description: Error severity level
      properties: {}
      type: string
      enum:
      - None
      - Retry
      - Warn
      - Critical
      - Fatal
    PagingOfMetadataSummaryModel:
      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/MetadataSummaryModel'
          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
    MetadataFieldDataType:
      description: Field types for metadata values
      properties: {}
      type: string
      enum:
      - String
      - Boolean
      - Number
      - DateTime
      - User
    MetadataModel:
      description: A single record of metadata that is associated to one entity
      properties:
        containsPersonalInformation:
          description: When this is set to true, the metadata will be obfuscated during export
          type: boolean
        createDateTime:
          description: When was this field value entered
          type: string
          format: date-time
        createUserId:
          description: The user id of the user who entered this field value
          type: integer
          format: int32
        createUserName:
          description: Who entered this field value
          type: string
        itemId:
          description: The ID of the entity to which this value is associated
          type: integer
          format: int32
        metadataFieldId:
          description: The metadata field ID for this value
          type:
          - integer
          - 'null'
          format: int32
        metadataFieldName:
          description: The field name for this metadata value
          type: string
        metadataFieldSectionId:
          description: The section ID in which this metadata value resides
          type: integer
          format: int32
        metadataFieldSectionName:
          description: The section name in which this metadata value resides
          type: string
        metadataFieldTypeId:
          description: The ID for the field type in which this metadata value resides
          type:
          - integer
          - 'null'
          format: int32
        metadataFieldTypeName:
          description: The field name in which this metadata value resides
          type: string
        metadataItemDataId:
          description: The sequence ID for this specific metadata value record
          type:
          - integer
          - 'null'
          format: int32
        metadataTypeName:
          description: The type name in which this metadata value resides
          type: string
        sortOrder:
          description: Not currently utilized, but the sort order for the metadata
          type:
          - integer
          - 'null'
          format: int32
        valueBit:
          description: The value when the metadata field is a boolean
          type:
          - boolean
          - 'null'
        valueDateTime:
          description: The value when the metadata field is a date
          type:
          - string
          - 'null'
          format: date-time
        valueInt:
          description: The value when the metadata field is a user
          type:
          - integer
          - 'null'
          format: int32
        valueNumber:
          description: The value when the metadata field is a number
          type:
          - number
          - 'null'
          format: double
        valueString:
          description: The value when the metadata field is a string
          type: string
        valueUserDisplayName:
          description: The user display name when the metadata field is a user type
          type: string
      type: object
    MetadataSummaryModel:
      description: Query results
      properties:
        containsPersonalInformation:
          description: When this is set to true, the metadata will be obfuscated during export
          type: boolean
        createDateTime:
          description: When the field value was created
          type: string
          format: date-time
        createUserId:
          description: The user id of who entered the field value
          type: integer
          format: int32
        createUserName:
          description: Who entered the field value
          type: string
        itemId:
          description: The ID of the item to which this metadata is associated
          type: integer
          format: int32
        metadataFieldDataType:
          $ref: '#/components/schemas/MetadataFieldDataType'
        metadataFieldId:
          description: The metadata field id
          type: integer
          format: int32
        metadataFieldName:
          description: The metadata field name
          type: string
        metadataFieldSectionId:
          description: The Metadata section ID
          type: integer
          format: int32
        metadataFieldSectionName:
          description: The metadata section name
          type: string
        metadataFieldTypeName:
          description: Not currently populated, see MetadataFieldDataType
          type: string
        metadataItemDataId:
          description: The sequence id for this specific metadata field
          type: integer
          format: int32
        metadataType:
          $ref: '#/components/schemas/MetadataType'
        metadataTypeName:
          description: Not currently populated, see MetadataType
          type: string
        sortOrder:
          description: The order in which to sort the metadata fields.  This is currently not utilized.
          type:
          - integer
          - 'null'
          format: int32
        valueBit:
          description: When this metadata field is a boolean this will be the value
          type:
          - boolean
          - 'null'
        valueDateTime:
          description: When this metadata field is a datetime this will be the value
          type:
          - string
          - 'null'
          format: date-time
        valueInt:
          description: When this metadata field is a user this will be the user id
          type:
          - integer
          - 'null'
          format: int32
        valueNumber:
          description: When this metadata field is a number this will be the value
          type:
          - number
          - 'null'
          format: double
        valueString:
          description: When this metadata field is a string this will be the value
          type: string
        valueUserDisplayName:
          description: When this metadata field is a user this will be the user display name
          type: string
      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
    AuthenticationFailedResponse:
      description: Response object for authentication failures
      required:
      - message
      properties:
        message:
          description: Error message
          type: string
      type: object
    PagingOfMetadataHistorySummaryModel:
      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/MetadataHistorySummaryModel'
          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
    MetadataUpdateModel:
      description: Metadata item to update
      properties:
        containsPersonalInformation:
          $ref: '#/components/schemas/UpdateFieldValueOfBoolean'
        metadataItemDataId:
          description: The sequence ID for the metadata field
          type: integer
          format: int32
        valueBit:
          $ref: '#/components/schemas/UpdateFieldValueOfOptionalBoolean'
        valueDateTime:
          $r

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