Remove a participant

DELETE
/api/v1/orgs/{orgId}/deals/{dealId}/packages/{packageId}/participants/{participantId}

Removes one signer from a package that has not been sent, along with the fields only that signer owns. Fields shared with another signer stay. Observers and approvers are managed in Clai. Works on a template deal. Returns the remaining participants and send readiness.

Requires the api_deals_send scope.

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token using a Clai API key secret (clai_live_*).

In: header

Path Parameters

NameTypeDescription
orgId
required
string

Organization ID the key is operating in

dealId
required
string

Deal ID that owns the package

Formatuuid
packageId
required
string

Package ID

Formatuuid
participantId
required
string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://app.goclai.com/api/v1/orgs/org_2abc123/deals/550e8400-e29b-41d4-a716-446655440010/packages/550e8400-e29b-41d4-a716-446655440011/participants/string"
{
  "participants": [
    {
      "participantId": "string",
      "label": "string",
      "role": "signer",
      "routingOrder": 0,
      "fullName": "string",
      "email": "string",
      "phone": "string",
      "needsContact": true,
      "party": "client"
    }
  ],
  "readiness": {
    "canSend": true,
    "blockers": [
      {
        "reason": "missing_email",
        "participantId": "string",
        "label": "string"
      }
    ]
  },
  "fieldCount": 0,
  "prepareUrl": "string",
  "isTemplate": true
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}