Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Delete a version

Permanently deletes a version and its files. Versions referenced by a channel cannot be deleted; promote another version first. A publishing API key without version-administration permission may delete only versions that same key created.

DELETE/v1/spaces/{spaceId}/versions/{versionId}
Authorization
AuthorizationBearer token · headerrequired

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

Path parameters
spaceIdstringrequired
versionIdstringrequired
Responses
204

The version was deleted.

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

Was this page helpful?