ApplicationService

RunResourceActionV2 runs a resource action with parameters

POST
https://argocd.example.com/api/v1/applications/{name}/resource/actions/v2

Body

application/json
actionstring
appNamespacestring
groupstring
kindstring
namestring
namespacestring
projectstring
Show child attributes
namestring
valuestring
resourceNamestring
versionstring

Parameters

namestringrequiredpath

Response

A successful response.

Response fields application/json

An unexpected error response.

Response fields application/json
codeinteger<int32>
Show child attributes
type_urlstring
valuestring<byte>
errorstring
messagestring

Authorization

bearerapiKey in header

A token sent as Authorization: Bearer <token>. API Docs shows how to get one.