curl --request POST \
--url https://api.openworklabs.com/v1/connector-accounts/{connectorAccountId}/disconnect \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'{
"ok": true,
"item": {
"id": "<string>",
"organizationId": "<string>",
"connectorType": "github",
"remoteId": "<string>",
"externalAccountRef": "<string>",
"displayName": "<string>",
"status": "active",
"createdByOrgMembershipId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
}Marks a connector account as disconnected.
curl --request POST \
--url https://api.openworklabs.com/v1/connector-accounts/{connectorAccountId}/disconnect \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'{
"ok": true,
"item": {
"id": "<string>",
"organizationId": "<string>",
"connectorType": "github",
"remoteId": "<string>",
"externalAccountRef": "<string>",
"displayName": "<string>",
"status": "active",
"createdByOrgMembershipId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
}Den TypeID with 'cac_' prefix and a 26-character base32 suffix.
30^cac_.*1 - 255Was this page helpful?