Patch Source Enabled
PATCH/api/v1/sources/:name
Set a source's lifecycle state without changing versioned configuration.
Does not create a new source version. Activating may return 409 match_conflict if another non-disabled source already uses the same
receiver match rule.
Request
Responses
- 200
- 401
- 403
- 409
- 422
- default
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
Refused: the session lacks the action this route checks, or its account must replace an issued password first. A SCIM route answers a refused action in the RFC 7644 error envelope
Enabling would duplicate another enabled source's receiver match (code match_conflict) or alias (code alias_conflict), or the source is engine-owned and no write path may change it (code conflict)
Refused, nothing written. The body failed validation (code validation_error), or the receiver would refuse the source's rule (code invalid_rule): rule_errors names each field at fault and, for when, the span the check stopped at
Problem details (RFC 9457)