Skip to content
Navigation

Rename a space or change its lifetime

Send name, ttl, or both.

  • name renames the space. The id does not change, so its files and runs stay attached.
  • ttl sets a new deadline: expiresAt becomes now plus ttl seconds, 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.

{ "name": "Acme onboarding", "ttl": 2592000 }

Learn more: Spaces

PATCH
https://api.cloudraker.com/v1/spaces/{spaceId}
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
    minLength: 1

Request body JSON required

  • name
    optional
    string

    The new name for the space.

    maxLength: 120 · minLength: 1
  • ttl
    optional
    integer

    Seconds until the space expires, from now.

    maximum: 7776000 · minimum: 300

Returns

200

The space.

JSON
  • object
    string
    required
  • id
    string
    required
  • name
    string
    required
  • createdAt
    string
    required
  • expiresAt
    string | null
    required

400

Invalid request (invalid_request).

404

Unknown, archived, expired, or not an API-created space.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close