Pause integration
client.zeroTrust.casb.integrations.pause(stringid, IntegrationPauseParams { account_id } params, RequestOptionsoptions?): IntegrationPauseResponse { id, application, auth_method, 12 more }
POST/accounts/{account_id}/one/integrations/{id}/pause
Pauses an integration, stopping all crawlers.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Pause integration
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const response = await client.zeroTrust.casb.integrations.pause('id', {
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
});
console.log(response.id);{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"application": {
"foo": "string"
},
"auth_method": {
"foo": "string"
},
"authorization_link": {
"components": {
"foo": "bar"
},
"link": "link"
},
"created": "2019-12-27T18:11:19.117Z",
"credentials_expiry": "2019-12-27T18:11:19.117Z",
"dlp_profiles": [
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
],
"health_details": [
{
"foo": "bar"
}
],
"is_paused": true,
"last_hydrated": "2019-12-27T18:11:19.117Z",
"name": "name",
"organization_id": 0,
"status": "status",
"updated": "2019-12-27T18:11:19.117Z",
"use_cases": [
{
"foo": "bar"
}
]
}Returns Examples
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"application": {
"foo": "string"
},
"auth_method": {
"foo": "string"
},
"authorization_link": {
"components": {
"foo": "bar"
},
"link": "link"
},
"created": "2019-12-27T18:11:19.117Z",
"credentials_expiry": "2019-12-27T18:11:19.117Z",
"dlp_profiles": [
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
],
"health_details": [
{
"foo": "bar"
}
],
"is_paused": true,
"last_hydrated": "2019-12-27T18:11:19.117Z",
"name": "name",
"organization_id": 0,
"status": "status",
"updated": "2019-12-27T18:11:19.117Z",
"use_cases": [
{
"foo": "bar"
}
]
}