Appearance
POST
/developer/connected-partners/{slug}/integrations/{integrationId}/_deactivateRequired scope:
apiclient:updateStops the partner getting new tokens for the tenant through the integration. Tokens already issued stay valid until they expire, at most an hour. Deactivating an inactive integration changes nothing.
Parameters ​
Path parameters
slug stringintegrationId stringResponse ​
The connected partner with the tenant's activations.
JSON
{
"slug": "...",
"clientId": "...",
"name": "...",
"logo": "...",
"summary": "...",
"description": "...",
"active": true,
"integrations": [
{
"id": "...",
"name": "...",
"description": "...",
"scopes": [
"..."
],
"active": true,
"activatedAt": "2024-08-14T12:34:56.412"
}
]
}
| Error code | Description |
|---|---|
auth.api-client.role-required | A signed-in user must hold the apiclient role. |
auth.connected-partner.integration-not-found | The connected partner has no integration with the given id. |
auth.connected-partner.not-found | No connected partner was found with the given slug. |