Flex Metal Tags
FlexMetal tags can be assigned to FlexMetal servers to administratively group them together and use them for filtering.
Example header and default range: RANGED-DATA:start=0,results=25
List of tags
A Flex Metal tag
The tag name
my-tagInvalid credentials
Internal Server Error
GET /v3/flexMetal/tags HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Accept: */*
[
{
"tag": "my-tag",
"resources": {
"count": 1,
"flexMetalServers": {
"count": 1
}
}
}
]A Flex Metal tag
The tag name
my-tagThe new tag
A Flex Metal tag
The tag name
my-tagInvalid credentials
Unprocessable content
Internal Server Error
POST /v3/flexMetal/tags HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"tag": "my-tag"
}[
{
"tag": "my-tag",
"resources": {
"count": 1,
"flexMetalServers": {
"count": 1
}
}
}
]List of tags
A Flex Metal tag
The tag name
my-tagInvalid credentials
Resource not found
Internal Server Error
GET /v3/flexMetal/tags/{tag} HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Accept: */*
[
{
"tag": "my-tag",
"resources": {
"count": 1,
"flexMetalServers": {
"count": 1
}
}
}
]A Flex Metal tag
The tag name
my-tagThe updated tag model
A Flex Metal tag
The tag name
my-tagInvalid credentials
Resource not found
New tag name already exists
Unprocessable content
Internal Server Error
PUT /v3/flexMetal/tags/{tag} HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"tag": "my-tag"
}[
{
"tag": "my-tag",
"resources": {
"count": 1,
"flexMetalServers": {
"count": 1
}
}
}
]No Content
No content
Invalid credentials
Resource not found
Internal Server Error
DELETE /v3/flexMetal/tags/{tag} HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?