Skip to content
LydieDevelopers
Menu

Remove a connection

View as Markdown
DEL/v1/connections/{id}

Removes a connection and its stored credentials. Refused while publications use it, unless force (they are removed too; what they published stays at the destination). Owners and admins only.

docs:writeCannot be undone
Request
curl -X DELETE "https://api.lydie.co/v1/connections/01JCQ3V5MZ8G4ZK2X7T9R6N1PB" \
  -H "Authorization: Bearer $LYDIE_TOKEN"

Path parameters

  • idULIDrequired

Query parameters

  • forceboolean

    Default false

Response

200
{
  "id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
  "removedPublications": -9007199254740991
}

Errors use one envelope for every endpoint. See Errors and versions.