Approve a production release
post/hosting/sites/{id}/releases/{release}/approve
Approve a production release. When the site needs several approvers each different person approves once (with an optional comment); the exact checked files go live with the last one.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingReleaseApprove- Sdk
hosting.release.approve- Cli
hosting release approve
Parameters
- idstring (uuid)requiredIn the path
- releasestring (uuid)requiredIn the path
Request bodyapplication/json, required
- commentstringAt most 500 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring