Skip to content

Disconnect Xero

DELETE
/xero
curl --request DELETE \
--url https://example.com/xero \
--cookie bottle.session_token=<bottle.session_token>

Tells Xero to forget the connection and forgets the matches between records. Nothing is deleted on either side; connecting again matches customers by name and starts pushing from there.

Disconnected

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or without the permission this needs

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Validation failed

Media typeapplication/json
object
error
required
string
Allowed values: validation
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{
"error": "validation",
"issues": [
{
"path": "email",
"message": "Invalid email"
}
]
}