Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Delete connection

DELETE/v1/connections/{id}Delete connection

Deletes the connection with the given ID.

Parameters

idstringpathrequired

pattern ^(con_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Responses

204Deleted the connection.
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
404Connection with the given ID was not found.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu