Rename a space or change its lifetime
Send name, ttl, or both.
namerenames the space. The id does not change, so its files and runs stay attached.ttlsets a new deadline:expiresAtbecomes now plusttlseconds, whether that extends the space or shortens it.
Only a space created with POST /v1/spaces can be changed here; any other space answers 404.
Learn more: Spaces
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
spaceId
Request
This endpoint expects an object.
name
The new name for the space.
ttl
Seconds until the space expires, from now.
Response
The space.
object
id
name
createdAt
expiresAt
Errors
400
Bad Request Error
404
Not Found Error
429
Too Many Requests Error