Skip to Content
Harnix

Decline an account connection

POST
/v2/runs/{run_id}/connection/decline

Path Parameters

run_id*Run Id
Formatuuid

Header Parameters

authorization?string|null
x-api-key?string|null
origin?string|null

Response Body

Successful Response

application/json
  1. response
agent_id*|null
attempt*Attempt
conversation_id?|null
created_at*Created At
Formatdate-time
created_by*string|null
document_id*|null
end_user_id?|null
error*string|null
finished_at*|null
id*Id
Formatuuid
input*string|null
kind*Kind
max_attempts*Max Attempts
org_id*Org Id
Formatuuid
result*|null
serial_key*string|null
started_at*|null
state*State
waiting_until?|null
Example Request
curl -X POST 'https://api.harnix.vn/v2/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/connection/decline'
Example Response
{  "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",  "attempt": 0,  "conversation_id": "cc71b11a-25cd-4c2d-9950-df2cc38e3407",  "created_at": "2019-08-24T14:15:22Z",  "created_by": "string",  "document_id": "b792e8ae-2cb4-4209-85b9-32be4c2fcdd6",  "end_user_id": "c5ac076e-1e7a-4f0d-9ad4-cae618230def",  "error": "string",  "finished_at": "2019-08-24T14:15:22Z",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "input": "string",  "kind": "string",  "max_attempts": 0,  "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",  "result": {},  "serial_key": "string",  "started_at": "2019-08-24T14:15:22Z",  "state": "string",  "waiting_until": "2019-08-24T14:15:22Z"}