/environments/assign-tags
Assign tags to one environment.
Overview
| Field | Value |
|---|---|
| Method | POST |
| Path | /environments/assign-tags |
Request Body
{
"envUuid": "YOUR_ENV_UUID",
"tagUuids": ["TAG_UUID_1"]
}cURL Example
curl -X POST http://127.0.0.1:{port}/api/local/environments/assign-tags
-H "Content-Type: application/json"
-H "sp-api-key: YOUR_LOCAL_API_KEY"
-d '{
"envUuid": "YOUR_ENV_UUID",
"tagUuids": ["TAG_UUID_1"]
}'