ApplicationService

ListResourceActions returns list of resource actions

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

Parameters

namestringrequiredpath
namespacestringquery
resourceNamestringquery
versionstringquery
groupstringquery
kindstringquery
appNamespacestringquery
projectstringquery

Response

A successful response.

Response fields application/json
Show child attributes

ResourceAction represents an individual action that can be performed on a resource. It includes parameters, an optional disabled flag, an icon for display, and a name for the action.

disabledboolean

Disabled indicates whether the action is disabled.

displayNamestring

DisplayName provides a user-friendly name for the action.

iconClassstring

IconClass specifies the CSS class for the action's icon.

namestring

Name is the name or identifier for the action.

Params contains the parameters required to execute the action.

Show child attributes

ResourceActionParam represents a parameter for a resource action. It includes a name, value, type, and an optional default value for the parameter.

namestring

Name is the name of the parameter.

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.