Deletes the inbox and everything it received. Posts to its address then answer 404.
Needs scope webhooks:write.
bearerAuthorizationBearer <token>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (docs.inorbit.hr). The gateway verifies it; the audience is iohr-api.
inbox_id*stringThe inbox's id, from Create a test inbox.
iohr.events.v1.DeleteInboxResponse
application/json- response
iohr.events.v1.DeleteInboxResponse
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { const { value } = await api.events.deleteInbox("<inbox_id>"); console.log(value);} catch (e) { if (!(e instanceof ApiError)) throw e; console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);}npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.
{}List inbox requests GET
What the test inbox received, newest first: the webhook headers, the body, and whether the signature matched the secret of the endpoint that points at it. Needs scope `webhooks:read`.
List event types GET
The event catalogue: every type you can receive, with the JSON Schema of its `data`. Needs scope `events:read`.