The Connection API has the ability to delete connections from your account.
Endpoint
- Method: DELETE
- URI: https://api.jooraccess.com/v2/connection/?customer_code=[customer_code]
Params
- Accept: application/xml OR application/json
- Authorization: OAuth2 [Base64 encoded token]
PARAMETERS | REQUIRED | TYPE | NOTES |
---|---|---|---|
customer_code | Y | integer | The assigned customer code for the connection. |
Request Example
DELETE | https://api.jooraccess.com/v2/connection?customer_code=CU-7366
Removes the specified connection from your connections. Does not delete the connection altogether.
Response Example
<?xml version='1.0' encoding='UTF-8'?>
<connections>
<response>
<code>0</code>
<comment />
<log_id>b12689be-f05a-48e7-8aff-d86fed6c60da</log_id>
</response>
<connection>
<connection_deleted>
<customer_code>CU-7366</customer_code>
</connection_deleted>
</connection>
</connections>
{
"response": {
"code": 0,
"comment": "",
"log_id": "b12689be-f05a-48e7-8aff-d86fed6c60da"
},
"connection": {
"connection_deleted": {
"customer_code": "CU-7366"
}
}
}