---
title: "Revoke service account"
method: DELETE
path: "/admin/service-accounts/{id}"
tags: ["Service Accounts"]
---

# Revoke service account

`DELETE /admin/service-accounts/{id}`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/admin/service-accounts/{id}`
- Auth: HTTP bearer

Revoke a service account API key (admin only)

## Path parameters

- `id` string, required

## Response `200`

Service account revoked

## Other responses

- `401`: Missing or invalid authentication token
- `403`: Admin access required
- `404`: Service account not found

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
