Create operations
POST/v1/organizations/:organization_id/operations
Create one or more operations based on the scope and targets sent. Currently available operation types: execute_microservice, delete_workspaces, shutdown_workspaces, restart_workspaces, and suspend_workspaces.
Request
Responses
- 201
- 400
- 401
- 404
- 422
- 429
- 500
Operations created successfully.
Bad request. Common causes: unsupported type, invalid target.type, empty target.ids, expiration_in_seconds out of range, or payload not allowed for delete_workspaces/shutdown_workspaces/restart_workspaces/suspend_workspaces.
Unauthorized.
Organization not found.
Unprocessable entity. Common causes: objectives cannot be resolved in the organization, or insufficient permissions on reporting groups.
Too Many Requests
Internal Server Error