HITL

Archive HITL config

Archive a HITL configuration (soft delete).

delete/api/v1/hitl/{id}

Request

  • Base URL: https://api.proof.holdings
  • URL: https://api.proof.holdings/api/v1/hitl/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

MongoDB ObjectId

Example:507f1f77bcf86cd799439011

Response

HITL config archived

idstring required

MongoDB ObjectId

user_idstring required

MongoDB ObjectId

namestring nullable
profile_idstring

MongoDB ObjectId

circle_idstring

MongoDB ObjectId

timeout_secondsinteger required
status'pending' | 'active' | 'archived' required

Status of a HITL configuration

environment'production' | 'test' required
created_atstring date-time required
updated_atstring date-time required

Example response

{
  "id": "507f1f77bcf86cd799439011",
  "user_id": "507f1f77bcf86cd799439011",
  "name": "Production Approvals",
  "profile_id": "507f1f77bcf86cd799439011",
  "circle_id": "507f1f77bcf86cd799439011",
  "channels": [
    {
      "config": {
        "chat_id": "123456789"
      }
    }
  ],
  "timeout_seconds": 3600,
  "status": "active",
  "environment": "production"
}

Changes

No recorded changes to this operation across all 1 revision of this API.