---
title: "Delete (revoke) a service account"
method: DELETE
path: "/app/{app_id}/enterprise-portal/service-accounts/{serviceAccountId}"
tags: ["enterprisePortal"]
---

# Delete (revoke) a service account

`DELETE /app/{app_id}/enterprise-portal/service-accounts/{serviceAccountId}`

Revokes an enterprise portal service account, marking it as revoked and clearing sensitive data. Note that this
makes the service account name reusable.

## Path parameters

- `app_id` string, required
- `serviceAccountId` string, required

## Response `204`

On success, no payload returned

## Other responses

- `400` — Returned on bad input
- `401` — Return if the caller is not authorized
- `403` — Returned if the caller does not have the needed permission
- `404` — Returned on resource not found

---

[API](https://skmtc.net/replicated/apis/vendor-api-v3.md) · [All operations](https://skmtc.net/replicated/apis/vendor-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/replicated/vendor-api-v3/versions/6fcf9e54aba4/schema)
