Tokens

Revoke a token

curl -X DELETE https://api.subscriby.net/v1/tokens/$TOKEN_ID \
  -H "Authorization: Bearer $SUBSCRIBY_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"

Returns 204 No Content. Revocation is immediate: in-flight requests already authenticated will finish, and the next one fails.

delete/v1/tokens/{token}

Request

  • Base URL: https://api.subscriby.net
  • URL: https://api.subscriby.net/v1/tokens/{token}
  • Auth: HTTP bearer

Path parameters

tokeninteger required

One of the caller's tokens, resolved by the route binder.

Headers

Idempotency-Keystring uuid required

A key unique to this operation, such as a fresh UUID. The same key replays the original 2xx response for 24 hours (with Idempotent-Replay: true), so a retry after a timeout never repeats the write; the same key with a different body is refused with 409.

Response

No content

Changes

No recorded changes to this operation across all 1 revision of this API.