TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
GroupsHostgroupsMetersMetricsProduct
PluginsRelaysSourcesSource-TagsSynchronize Data
Tenants
Terms

POST/v1/sources

Creates a source.

Request body properties

name

The name of the source

last [optional]

The last epoch time this source is considered to be active. If the last property is not supplied the current time will be used.

Return value

Returns HTTP 202 Accepted, or HTTP 409 Conflict if a source with the name already exists.

Example request:

curl https://api.truesight.bmc.com/v1/sources \
-X POST \
-u <email>:<api-token> \
-H "Content-Type: application/json" \
-d '
{
   "name": "service-01.prod.domain.com",
   "last": 1478590690888
}'