sources

Update metadata for an HEC token for a Splunk HEC Source within a Pack

Update the metadata for the specified HEC token for the specified Splunk HEC Source within the specified Pack.

patch/p/{pack}/system/inputs/{id}/hectoken/{token}

Path parameters

idstring required

The <code>id</code> of the Splunk HEC Source.

tokenstring required

The <code>id</code> of the HEC token to update.

packstring required

The <code>id</code> of the Pack to update.

Request body

allowedIndexesAtTokenstring[]
descriptionstring
enabledboolean

Response

a list of InputSplunkHec objects

countinteger

number of items present in the items array

Changes