Skip to content

redactPath

redactPath(path): string

Defined in: packages/rest/src/errors.ts:44

Replaces the token segment of webhook and interaction paths with :token, so request paths can appear in errors, hooks and logs without leaking a credential.

string

string