metadata.update

Update the details of a Metadata entity

POST http://api.kompliant.com/metadata.update (OpenAPI specification)

Usage Info

Use this endpoint when updating the details of a metadata entity.

Note: Is not possible to update metadata_type, you will need to create a new one.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
metadata_idstringYesThe Metadata to update.
metadataobjectYesThe metadata parameter defined in the tables below.

Metadata Parameters

ParameterTypeRequiredDescription
detailsobjectYesThe details parameter consists of additional properties of key-value pair defined as per metadata type fields schema.

Example

{
  "metadata_id": "{{metadata_id}}",
  "metadata": {
    "details": {
      "ipv4": "192.168.1.1",
      "allocation_method": "DHCP"
    }
  }
}

Response

Data

An empty data object is returned when the completion is successful.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_6zNzQZHSf26V83BO3uW6dS",
    "version": "2025-03-24"
  },
  "data": {}
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST400Required parameters not provided.
Allowed parameters provided not valid.
ENTITY_NOT_FOUND400Any of the provided Ids does not exist.