---
raw: true
search:
  tags:
    - Access
    - DELETE
seo:
  description: >-
    Revokes the machine credential and… Reference for the DELETE
    /v1/spaces/{spaceId}/machine-credentials/{credentialId} endpoint in the
    Spacefast Partner API.
sidebar:
  label: Revoke a machine access credential
  badge: DELETE
title: Revoke a machine access credential
type: openapi-operation
---
Revokes the machine credential and its canonical grant so the bearer token immediately loses authority.

`DELETE /v1/spaces/{spaceId}/machine-credentials/{credentialId}`

**Responses**

- `204` — The machine credential was revoked.
