Create a New Tag
- Name
post
- Type
- /v1/tags
- Description
Send a
POST
request to add a tag.
Request
Attributes
Required
- Name
name
- Type
- string
- Description
Tag new name given by the user at its creation.
Optional
- Name
project_uuid
- Type
- string
- Description
The project universal unique identifier where the tag will be placed. If the user didn't provide the UUID, the system will replace the tag in the user default project.
- Name
stacklet_ids
- Type
- array
- Description
An array of the Stacklets IDs which will be assigned to the tag.
Example
curl -X POST "https://api.simplystack.com/v1/tags" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
-d '{"name": "web"}'
Response
JSON object with a key named tag
which is an array of the following attributes:
Attributes
Example
{
"tag": {
"name": "web"
}
}