All pages
Powered by GitBook
1 of 1

Loading...

Disable Data Source

Pause discovery and extraction for a data source

Endpoint

PUT /api/v1/providers/datasources/{id}:disable

Description

Pause discovery and extraction for a data source. This will cancel all pending extractions for the specified data source.

Disabling a data source will cancel all pending extractions and prevent new data from being collected until the data source is re-enabled.

API Reference

Path Parameters

Parameter
Type
Required?
Description

Request Examples

Response Examples

Standard Response:

id

string

Required

The data source ID

curl -X PUT "$BASE_URL/api/v1/providers/datasources/6961b032-3fd7-4baa-a230-146d1b70ec27:disable" \
  -H "authorization: Bearer $VEZA_TOKEN"
{}

Authentication Required

This endpoint requires a valid Veza API key for authentication.

See Authentication for more about creating and managing API keys.

All requests must include the API key as a Bearer token in the Authorization header.

Example:

curl -X GET "$BASE_URL/api/preview/keys" \
  -H "authorization: Bearer $VEZA_TOKEN"
put
Authorizations
Path parameters
idstringRequired
Responses
200

OK

application/json
Responseobject
default

Default error response

application/json
put
{}
PUT /api/v1/providers/datasources/{id}:disable HTTP/1.1
Host: your-tenant.cookiecloud.ai
Authorization: Bearer JWT
Accept: */*