Public M2M API — tags
Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.
Authentication and permissions · Requests, results and recovery
/api/v1/tags
Exported methods: GET, POST, DELETE
GET
- Resource scopes:
servers:read - Response keys observed across outcomes:
data,tags
POST
- Resource scopes:
servers:write - Explicit response statuses:
201,404,409,422 - Explicit error codes:
conflict,invalid_request,not_found,tag_error - Response keys observed across outcomes:
assignment,assignments,data,resourceId,resourceType,tag,tagId,unassigned
These tables describe the validated form after the server normalizes the submitted input. Include the shown discriminator explicitly to select an alternative; the server may also accept omitted or aliased fields according to its route-specific normalization.
Provide one of these observed alternatives; additional validation may apply.
Payload alternative 1
Payload alternative 2
Payload alternative 3
Payload alternative 4
Payload alternative 5
DELETE
- Resource scopes:
servers:write - Query parameters:
id,resourceId,resourceKind,resourceType,tag,tagId - Explicit response statuses:
400,404,422 - Explicit error codes:
invalid_request,not_found,tag_error - Response keys observed across outcomes:
deleted,detached,resourceId,tagId
Provide tagId (alias id) or tag in query or JSON. With resourceId, the tag is detached from that resource; resourceType (alias resourceKind) defaults to SERVER. Without resourceId, the tag itself is deleted. Verify the intended target before sending.
JSON properties observed: id, resourceId, resourceKind, resourceType, tag, tagId.
These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.