Delete Service Group
Delete a service group. Optionally deletes the services it contains, which takes the admin role on each of them.
Delete a service group. Optionally deletes the services it contains, which takes the admin role on each of them.
Authorization
bearerAuth Access token or API key (unb_...) passed as Authorization: Bearer <token>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Whether to delete the services in the service group
The ID of the environment
uuidThe ID of the service group
uuidThe ID of the project
uuidThe ID of the team
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/service_groups/delete" \ -H "Content-Type: application/json" \ -d '{ "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba" }'{ "data": { "deleted": true, "id": "string" }}Update Service Group Template Inputs PUT
Edit a deployed template's inputs (domains, sizes, variables), re-applying to the underlying services.
Reorder Service Group PUT
Set the custom order of the services inside a service group. List them in the order they should appear; ones left out keep their order after the listed ones. To move the group itself, use reorder-services. Returns the environment's services in the new order.