RelayAPI

Update a binding

PATCH
/v1/automation-bindings/{id}
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_*)

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/automation-bindings/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "organization_id": "string",  "workspace_id": "string",  "social_account_id": "string",  "channel": "instagram",  "binding_type": "default_reply",  "automation_id": "string",  "config": {    "property1": null,    "property2": null  },  "status": "string",  "last_synced_at": "string",  "sync_error": "string",  "created_at": "string",  "updated_at": "string",  "social_account": {    "id": "string",    "handle": "string",    "display_name": "string",    "avatar_url": "string"  },  "warnings": [    {      "code": "string",      "message": "string"    }  ]}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}

Found something wrong? Help us improve this page.

Submit an Issue
Requires a GitHub account.View repo