ApplicationService

RunResourceAction runs a resource action

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

Deprecated: use RunResourceActionV2 instead. This version does not support resource action parameters but is maintained for backward compatibility. It will be removed in a future release.

Body

application/json
string

Parameters

namestringrequiredpath
namespacestringquery
resourceNamestringquery
versionstringquery
groupstringquery
kindstringquery
appNamespacestringquery
projectstringquery

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.