---
title: "Delete an access key of a service account."
method: DELETE
path: "/v1/serviceAccounts/{serviceAccountId}/accessKeys/{accessId}"
tags: ["serviceAccountManagement"]
---

# Delete an access key of a service account.

`DELETE /v1/serviceAccounts/{serviceAccountId}/accessKeys/{accessId}`

Deletes the access key with the given Id of a service account.

## Path parameters

- `serviceAccountId` string, required
- `accessId` string, required

## Response `204`

Access key deletion of a service account completed successfully.

## Other responses

- `default` — Access key deletion of a service account failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/18a824df1e78/schema)
