Skip to main content
PUT
Update a data source

Authorizations

Authorization
string
header
required

An sre_ak_* API key holding the api:admin scope (or api:config_read, which every write refuses with read_only_key).

Path Parameters

id
string
required

The resource's id.

Body

application/json
auth_credentials
object
write-only
auth_type
enum<string>

How the source authenticates. Changing it needs auth_credentials in the same call, except none and aws_instance, which store nothing and clear what the previous type kept.

Available options:
none,
basic,
bearer,
api_key,
datadog_keys,
aws_access_keys,
aws_assume_role,
aws_instance
enabled
boolean
name
string
regions
string[]
url
string

Response

Updated.