Rotate the Opsgenie signing token
Makes a new signing token and returns it once. The old one stops working at once, so the new one must be pasted into Opsgenie. Needs `integration:manage`.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
Idempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255The new token, shown once.
application/json- response
signingToken*stringThe new token. Shown once.
tokenMask*stringThe token as it is shown from now on, such as whtok_••••3b9e.
curl -X POST 'https://wardn.example.com/api/v1/opsgenie/signing-token'{ "signingToken": "string", "tokenMask": "string"}Connect Opsgenie, or change the connection PUT
Checks the API key with Opsgenie before keeping anything and keeps it in the secret store; the key is write-only and is never returned. The first connection also makes the signing token and returns it once in `signingToken`; connecting again changes the name, region, toggle and, when `apiKey` is giv
Say which Opsgenie alerts count PUT
Replaces the list of tags: an alert that carries a tag puts an incident in that environment when it is at least as serious as `minPriority` (1 is P1). Every environment must exist and a tag is mapped once. Needs `integration:manage`.