/environments/batch-move-to-group
Batch move environments to a group.
Overview
| Field | Value |
|---|---|
| Method | POST |
| Path | /environments/batch-move-to-group |
Request Body
{
"envUuids": ["ENV_UUID_1"],
"groupUuid": "YOUR_GROUP_UUID"
}cURL Example
curl -X POST http://127.0.0.1:{port}/api/local/environments/batch-move-to-group
-H "Content-Type: application/json"
-H "sp-api-key: YOUR_LOCAL_API_KEY"
-d '{
"envUuids": ["ENV_UUID_1"],
"groupUuid": "YOUR_GROUP_UUID"
}'