POST/api/v2/releases/{id}/revoke
Authentication. Signed-in customer session (browser cookies), not an API key. The caller must be an organization owner or admin.
Path parameters
idstring (uuid) required
Body parameters
organizationIdstring (uuid) requiredenvironmentIdstring (uuid) requireddeliverableIdstring (uuid) requireddeliverableVersionIdstring (uuid) requiredactiveReleaseHashstring (sha256) requiredreasonstring required
Response
201 Created Revocation appended.
revocation_idstring (uuid) requiredlineage_revisioninteger requiredrevocation_hashstring (sha256) requiredauthority_hashstring (sha256) required
Errors
| Status | When |
|---|---|
400 | Invalid strict authority request. |
401 | An authenticated customer session is required. |
403 | Organization, role, hosted entitlement, or authority check failed. |
404 | An exact authority-bound resource was not found. |
409 | The supplied immutable identity conflicts with current authority state. |
500 | Review/release authority failed closed. |
503 | The relevant launch control is held or signing authority is unavailable. |
# Sent by the signed-in console; the browser supplies the session cookies.
curl -X POST \
-H "Content-Type: application/json" \
-d '{"organizationId":"8f4fa0a3-f907-41f5-babe-5762f974cb83","environmentId":"8f4fa0a3-f907-41f5-babe-5762f974cb83","deliverableId":"8f4fa0a3-f907-41f5-babe-5762f974cb83","deliverableVersionId":"8f4fa0a3-f907-41f5-babe-5762f974cb83","activeReleaseHash":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","reason":"REASON"}' \
https://runstamp.com/api/v2/releases/8f4fa0a3-f907-41f5-babe-5762f974cb83/revokeResponse 201 Created
{
"revocation_id": "8f4fa0a3-f907-41f5-babe-5762f974cb83",
"lineage_revision": 1,
"revocation_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"authority_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}