Skip to navigation

Delete a space

View as Markdown

Deletes every file in the space and closes it. Runs that already finished keep their results.

This is what expiry does when expiresAt passes — doing it by hand costs nothing extra. Only a space created with POST /v1/spaces can be deleted here; any other space answers 404.

Repeating the call is safe: on a very large space it deletes the next batch of leftover files, so calling it until it stops finding files always finishes the job.

Learn more: Spaces

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired>=1 character

Response

Deleted.

Errors

404
Not Found Error
429
Too Many Requests Error