Cluster ActionsGet cluster action

Get cluster action

Get a single cluster isolation action by ID.

curl -X GET "https://api.prd.rad.security/accounts/example_string/clusters/example_string/actions/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: YOUR_API_KEY"
{
  "id": "example_string",
  "cluster_id": "example_string",
  "account_id": "example_string",
  "action_type": "terminate_pod",
  "status": "Pending",
  "target_pod_name": "John Doe",
  "target_namespace": "John Doe",
  "parameters": {},
  "result": "example_string",
  "created_by": "example_string",
  "created_at": "example_string",
  "updated_at": "example_string",
  "deleted_at": "example_string"
}
GET
/accounts/{account_id}/clusters/{cluster_id}/actions/{action_id}
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: Authorization)
Authorizationstring
Required

API key (sent in header)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

Responses

idstring

Action ID, prefixed with ca-

cluster_idstring
account_idstring
action_typestring
Allowed values:terminate_poddisable_outboundlabel_pod
statusstring

Execution status of the action

Allowed values:PendingExecutedFailed
target_pod_namestring
target_namespacestring
parametersobject

Action parameters. labels for label_pod, quarantine_id for disable_outbound.

resultstring

Message reported by rad-sync after execution; the Kubernetes error when the action failed.

created_bystring

Identity that created the action

created_atstring
updated_atstring
deleted_atstring