Disconnect
const url = 'https://api.sloose.com/orgs/org_9f3c/connectors/cnn_9f2a';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.sloose.com/orgs/org_9f3c/connectors/cnn_9f2a \ --header 'Authorization: Bearer <token>'Takes the credential away: the stored grant is revoked at the system (best effort) and removed here. The connector stays, marked revoked, because projects and history name it; a later connect makes it usable again. Signing in from the CRM keeps working — that never needed the credential.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The org id the session was issued for. A token for one org can never read another.
Example
org_9f3cThe org id the session was issued for. A token for one org can never read another.
The connector id, from the list.
Example
cnn_9f2aThe connector id, from the list.
Responses
Section titled “Responses”Disconnected.
object
object
Source | destination | both
The system’s own id — the Zoho org id.
The Zoho data centre.
Whether it holds a usable credential, so the server can read the system with nobody present.
Ok | revoked | error, from the credential’s last use.
Example
{ "ok": true, "connector": { "kind": "zoho_crm", "environment": "production", "status": "active" }}No bearer, or one that is expired, revoked or no longer resolves to a member.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}The bearer’s role is too low, or it was issued for a different org.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}No such connector, or it is not visible to this session.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}