Delete credential
Removes the credential for one (owner, kind). Deliveries fall back to the next owner in the resolution chain, which is usually the deployment default — so this is a demotion rather than a breakage. Where the deployment holds no default of that kind, the channel stops working for that owner. A product's service account may call this for its own application — the one whose slug the account's token names — so a product owns its catalogue and its credentials without a person in the loop.
Required scopes: notify:credentials:admin
Authorization
BearerAuth An access token from Xeonr Auth, presented as
Authorization: Bearer <token>. Its audience must include
https://notify.xeonr.io, and it must carry the scope the method
lists.
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length <= 191CredentialKind is a kind of delivery credential notify can hold on somebody's behalf. Each one serves a channel, and each declares its own fields — see CredentialKindSpec — so adding a kind is a server change rather than another console screen.
"CREDENTIAL_KIND_UNSPECIFIED" | "CREDENTIAL_KIND_DISCORD_BOT" | "CREDENTIAL_KIND_SMTP" | "CREDENTIAL_KIND_APNS" | "CREDENTIAL_KIND_FCM" | "CREDENTIAL_KIND_WEB_PUSH"Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.CredentialService/DeleteCredential" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}Credentials
What notify sends as: Discord bots, SMTP relays, APNs keys, FCM accounts and VAPID pairs, owned by an application, a team or a person.
Describe kinds POST
What credentials can be registered and what each one needs: its fields, which of them are secret, their input types and defaults, the channel it serves, and whether this deployment already holds a platform-wide default of that kind. The console builds its forms from this, which is what keeps a new kind from needing new UI. **Required scopes:** `notify:credentials:read`