Skip to main content
PATCH
/
api
/
zk-proofs
/
{id}
Update ZK proof
curl --request PATCH \
  --url https://platform.usewarp.net/api/zk-proofs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "status": "draft"
}
'
{
  "proof": {
    "id": "<string>",
    "name": "<string>",
    "project_id": "<string>",
    "status": "draft",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "circuit_path": "<string>",
    "verification_key": "<string>",
    "proving_key": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Path Parameters

id
string
required

ZK proof ID

Body

application/json
name
string

Proof name

status
enum<string>

Proof status

Available options:
draft,
compiled,
verified,
deployed

Response

ZK proof updated successfully

proof
object