---
title: "Revokes all tokens associated with a service and mode. It is not possible to tell whether the service actually exists (in connector), so this method currently does not return a 404."
method: DELETE
path: "/v1/frontend/auth/service/{serviceExternalId}/mode/{serviceMode}/revoke-all"
tags: ["Auth"]
---

# Revokes all tokens associated with a service and mode. It is not possible to tell whether the service actually exists (in connector), so this method currently does not return a 404.

`DELETE /v1/frontend/auth/service/{serviceExternalId}/mode/{serviceMode}/revoke-all`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `serviceExternalId` string, required
- `serviceMode` 'LIVE' | 'TEST', required

## Response `default`

default response

## Changes

- **2025-06-25** `e5ade61b9296`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/government-digital-service/apis/publicauth-api/changes/v1/frontend/auth/service/:serviceExternalId/mode/:serviceMode/revoke-all/delete.md)

---

[API](https://skmtc.dev/government-digital-service/apis/publicauth-api.md) - [All operations](https://skmtc.dev/government-digital-service/apis/publicauth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/government-digital-service/apis/publicauth-api/revisions/c661c91f1df4?raw)
