create_assignment
Assign a tag to a specified Contabo resource, such as an instance, image, or object storage bucket, to organize resources or restrict access.
Instructions
Create a new assignment for the tag [POST /v1/tags/{tagId}/assignments/{resourceType}/{resourceId}] Create a new tag assignment. This marks the specified resource with the specified tag for organizing purposes or to restrict access to that resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | The identifier of the tag. | |
| resourceId | Yes | The identifier of the resource id | |
| x-trace-id | No | Identifier to trace group of requests. | |
| resourceType | Yes | The identifier of the resource type. Resource type is one of `instance|image|object-storage`. |