List Service Groups
List all service groups in an environment.
List all service groups in an environment.
Authorization
bearerAuth Access token or API key (unb_...) passed as Authorization: Bearer <token>.
In: header
Query Parameters
The ID of the team
uuidThe ID of the project
uuidThe ID of the environment
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 GET "https://example.com/service_groups/list?team_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&project_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&environment_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": [ { "created_at": "2019-08-24T14:15:22Z", "description": "string", "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4", "icon": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc" } ]}Reorder Services PUT
Set the custom order of an environment's service groups and the services that are not in a group, which everyone who sees the environment gets. List them in the order they should appear; ones left out keep their order after the listed ones. A group moves with its services. Returns the environment's services in the new order.
Get Service Group GET
Get a single service group by ID.