Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Revoke a machine access credential

Revokes the machine credential and its canonical grant so the bearer token immediately loses authority.

DELETE/v1/spaces/{spaceId}/machine-credentials/{credentialId}
Authorization
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

Path parameters
spaceIdstringrequired
credentialIdstringrequired
matches ^(mch_)[A-Za-z0-9]+$
Responses
204

The machine credential was revoked.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.spacefast.com/v1/spaces/string/machine-credentials/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
The machine credential was revoked.

Was this page helpful?