---
title: "Revoke all API tokens for a service account"
method: DELETE
path: "/orgs/{orgId}/service-accounts/{accountId}/api-tokens"
tags: ["API Token"]
---

# Revoke all API tokens for a service account

`DELETE /orgs/{orgId}/service-accounts/{accountId}/api-tokens`

Revokes all API tokens for a specific service account within an organization.

#### Scopes
**[Authorization scopes](/cloud/admin/scopes/) required:** `delete:service-accounts-tokens:admin`

## Path parameters

- `orgId` string, required
- `accountId` string, required

## Response `204`

Returned if the request is successful.

## Other responses

- `400` — Returned if request is not in correct format.
- `403` — Returned if the user does not have permission to revoke service account API tokens.
- `404` — Returned if the service account is not found.
- `500` — Internal Error

---

[API](https://skmtc.net/atlassian/apis/api-access.md) · [All operations](https://skmtc.net/atlassian/apis/api-access/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/api-access/versions/412d18f78d91/schema)
