Remove the link of an Argo CD destination
Removes the link of the destination in the query; one that has none is not an error. Apps that were mapped by it wait for their cluster again at the next scan, which this asks for. Needs `import:manage` on this cluster. Recorded in Activity as `import.link_removed`.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuiddestination*stringThe destination as spec.destination has it.
1 <= length <= 512The cluster's links after the change.
application/json- response
items*array<>curl -X DELETE 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/import-links?destination=string'{ "items": [ { "destination": "string", "spokeClusterId": "string", "spokeName": "string", "setBy": "string", "setAt": "2019-08-24T14:15:22Z" } ]}List the Argo CD destinations linked to Wardn clusters GET
Argo CD names the clusters it deploys to by its own cluster secrets, which Wardn never reads. A destination whose name is a Wardn cluster's name is matched to it by itself; a link is a person's statement for the rest: this destination of this cluster's Argo CD is that Wardn cluster. A link wins over
Link an Argo CD destination to a Wardn cluster PUT
Says that a destination of this cluster's Argo CD (a cluster name or a server URL, as `spec.destination` has it) is the Wardn cluster `spokeClusterId`. Needs `import:manage` on this cluster and on the spoke, and only a person may, never an agent. Setting a link again replaces it. The cluster is scan