Core
Project-Level
Update a Target
Replace a Target's labels and params. The body's metadata.name, if given, must match the name in the URL, and its spec.targetSet must name the TargetSet that manages the Target, which cannot change. A metadata.uid or metadata.resourceVersion in the body is a precondition: the update is refused if the Target no longer matches it.
put/v1beta1/projects/{project}/targets/{target-name}
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header Authorization
Path parameters
projectstring required
Project name
target-namestring required
Target name
Request body
Response
Target resource
Changes
No recorded changes to this operation across all 54 revisions of this API.