Stacks
UpsertStacksAnnotations
Creates or updates an annotation for a stack, identified by the annotation kind. Annotations are structured metadata that can be attached to stacks. The 'version' query parameter supports optimistic concurrency control: if provided, the update only succeeds if the current annotation version matches. Returns 409 if the annotation has changed since it was read (version conflict).
patch/api/stacks/{orgName}/{projectName}/{stackName}/annotations/{kind}
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/stacks/{orgName}/{projectName}/{stackName}/annotations/{kind}
- Auth: none declared
Path parameters
orgNamestring required
The organization name
projectNamestring required
The project name
stackNamestring required
The stack name
kindstring required
The annotation kind
Query parameters
sourcestring
The annotation source
versioninteger
The expected annotation version for optimistic concurrency control
Request body
object required
Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.