Skip to main content
PUT
Update a metadata object

Authorizations

Authorization
string
header
required

A bearer token is required for all API requests.

Path Parameters

resourceId
string<uuid>
required

The unique identifier of the resource whose metadata is being accessed.

Body

application/json

The metadata keys and values to update.

type
string
required

A string identifying the type of the resource.

Example:

"mikrotik.device"

metadata
object
required

An object containing the metadata fields to add or update.

Example:

Response

The metadata was updated successfully.

resource_id
string<uuid>

The unique identifier of the resource this metadata belongs to.

Example:

"9b52d930-f432-4c0a-bac0-4c12dff85544"

type
string

A string identifying the type of the resource.

Example:

"mikrotik.device"

metadata
object

A free-form object containing key-value pairs. Values can be strings, numbers, or booleans.

Example: