Global InfraGlobal Infra Cloud
A W S

Perform action on ec2

Perform an action (stop, screenshot, generate_uid, status) on a ec2.

POST
/api/v1/giservices/aws/ec2/{id}/actions

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Path Parameters

id*string

Asset unique identifier

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/v1/giservices/aws/ec2/string/actions" \  -H "Content-Type: application/json" \  -d '{    "type": "stop"  }'
Empty
Empty
Empty
Empty
Empty