Update Source

Update Source

The "hidden" property is stored as a tag. To set the value, add "hidden": <value> to the list of tags.

Request
URI
PUT
https://{api_host}/api/v2/source/{id}
COPY
Path Parameters
string
id
Required

id


Request Body

Example Body:

{
    "sourceName": "source.name",
    "tags": {"sourceTag1": true},
    "description": "Source Description"
}
Source of type(s) application/json
Optional

Show optional properties

{
    "id": "string",
    "sourceName": "string"
}
{
    "hidden": false,
    "id": "string",
    "description": "string",
    "createdEpochMillis": 0,
    "updatedEpochMillis": 0,
    "tags": {
        "tags": false
    },
    "markedNewEpochMillis": 0,
    "creatorId": "string",
    "updaterId": "string",
    "sourceName": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerSource of type(s) application/json
"ResponseContainerSource Object"
object
status
Required

status

object
response
Optional

A source (sometimes called host) of time series data from telemetry ingestion


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"id:"string","sourceName:"string"}' https://{api_host}/api/v2/source/{id}