Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request PUT \
--url https://v1.api.altostrat.io/metadata/{resourceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "mikrotik.device",
"metadata": {
"location": "Level 5, Server Room B",
"contact_person": "jane.doe@example.com",
"maintenance_window": null
}
}
'{
"resource_id": "9b52d930-f432-4c0a-bac0-4c12dff85544",
"type": "mikrotik.device",
"metadata": {
"circuit_id": "AS12345-XYZ",
"install_date": "2025-01-15",
"is_critical": true,
"rack_units": 2
}
}Updates the metadata for a specific resource. This operation performs a merge; any keys you provide will be added or will overwrite existing keys, while keys you don’t provide will be left untouched. To remove a key, set its value to null or an empty string.
curl --request PUT \
--url https://v1.api.altostrat.io/metadata/{resourceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "mikrotik.device",
"metadata": {
"location": "Level 5, Server Room B",
"contact_person": "jane.doe@example.com",
"maintenance_window": null
}
}
'{
"resource_id": "9b52d930-f432-4c0a-bac0-4c12dff85544",
"type": "mikrotik.device",
"metadata": {
"circuit_id": "AS12345-XYZ",
"install_date": "2025-01-15",
"is_critical": true,
"rack_units": 2
}
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
A bearer token is required for all API requests.
The unique identifier of the resource whose metadata is being accessed.
The metadata keys and values to update.
A string identifying the type of the resource.
"mikrotik.device"
An object containing the metadata fields to add or update.
Show child attributes
{
"location": "Level 5, Server Room B",
"contact_person": "jane.doe@example.com",
"maintenance_window": null
}The metadata was updated successfully.
The unique identifier of the resource this metadata belongs to.
"9b52d930-f432-4c0a-bac0-4c12dff85544"
A string identifying the type of the resource.
"mikrotik.device"
A free-form object containing key-value pairs. Values can be strings, numbers, or booleans.
Show child attributes
{
"circuit_id": "AS12345-XYZ",
"install_date": "2025-01-15",
"is_critical": true,
"rack_units": 2
}Was this page helpful?