POST
Replace a destination's credential

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Path Parameters

id
string<uuid>
required

Body

application/json
secret
string
required

The new credential. Never returned.

Response

Rotated. The response does not carry the secret.

target
object
required

One outbound notification destination. The stored secret is not here and has no read path at all, in any response: it is the customer's own credential and TRUSTIVAN has no business showing it back. url is absent for the same reason (for Slack and Teams the destination URL IS the credential), and configured reports only whether a secret is set.