Update a Data Source properties in the inventory

Each operation has an operationType (Add, Replace or Remove), a path and a value.
The supported paths and the value each one expects:

  • State: the new state, for example "Inventory". Remove is not supported.
  • OwnerEmail: the owner's email address. Remove clears the owner.
  • BusinessUnits: a comma-separated list of business units, for example "Sales,Marketing".
  • DiscoveryMethods: a comma-separated list of discovery methods, for example "Manual".
  • CustomFields: the value of one custom field. Use { "id": "field-id", "values": { "text": "some text" } }
    for a text field and { "id": "field-id", "values": { "optionIds": ["option-id"] } } for a select field.
    Add and Replace set the field, and Remove (with { "id": "field-id" }) clears it.
    The data source's other custom fields are not changed.

Any other path, or setting an unknown custom field id, returns 400 with InvalidArgument.

Validation (not in required): Operations NotNull/NotEmpty/Predicate

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The id of the requested data source to update

Body Params

the patch request of the data source

operations
array of objects | null
operations
Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json