Delete Connection
DELETE/connections/:connectionId
This endpoint deletes a connection. It is most commonly used when a user stops being a customer of your platform or in conjunction with a GDPR or CCPA compliance request. Note that this action cannot be undone.
Request
Path Parameters
connectionId stringrequired
The Id of the connection you want to delete
Query Parameters
userId string
the alloy userId the connection belongs to
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
success boolean
Default value: true
{
"success": true
}
{
"success": true
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...