---
title: "Revokes the supplied token for this service and mode"
method: DELETE
path: "/v1/frontend/auth/service/{serviceExternalId}/mode/{serviceMode}"
tags: ["Auth"]
---

# Revokes the supplied token for this service and mode

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

## Request

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

## Path parameters

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

## Request body

- string

## Response `200`

OK

- string

## Other responses

- `404`: Token not found

## 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/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)
