Organizations

Enable or disable an org-level ingestion token

Enables or disables the specified named ingestion token. Disabled tokens cannot be used for ingestion. Requires Admin or Root role.

patch/api/{org_id}/ingestion-tokens/{name}

Request

Path parameters

org_idstring required

Organization identifier

namestring required

Token name

Request body

enabledboolean nullable
splunk_token'generate' | 'revoke'

Requested change to a Splunk HEC token.

Response

Success; message holds the JSON-encoded {message, splunk_token}

codeinteger required
error_detailstring nullable
hintstring nullable

One-line guidance on how to fix the error (agent self-correction, D4).

idstring nullable
messagestring required
namestring nullable
suggestionsstring[] nullable

Closest valid alternatives for a mistyped field/function name.

trace_idstring nullable
warningsstring[] nullable

Problems with a request that succeeded anyway. Distinct from hint, which explains a failure: these accompany a 200, and the caller is entitled to have meant it.

Changes

No recorded changes to this operation across all 1 revision of this API.