v1

latestOpenAPI 3.0.12026-07-2464217456.8 KB
Spaces

Update space by Id

put/1.0/spaces/{spaceId}

Path parameters

spaceIdinteger required

The space's unique, system-generated identifier, which can be used to identify the space globally.

Request body

spaceNamestring

The name of the space.

Example request

{
  "spaceName": "Shared space"
}

Response

The requested action was successfully executed.

spaceIdinteger

The space's unique, system-generated identifier, which can be used to identify the space globally.

spaceNamestring

The name of the space.

createdAtinteger

The timestamp when the space was created. The referenced time will be in epoch millis.

updatedAtinteger

The timestamp when the space was last updated.

privateboolean

Describes the privacy of the space i.e. if it is private or shared.

Example response

{
  "spaceId": 201,
  "spaceName": "Shared space",
  "project": {
    "projectId": 201,
    "projectName": "Acme onboarding"
  },
  "createdAt": 1681319726000,
  "createdBy": {
    "emailId": "john.doe@rocketlane.com",
    "userId": 201,
    "firstName": "John",
    "lastName": "Doe"
  },
  "updatedAt": 1681319726000,
  "updatedBy": {
    "emailId": "john.doe@rocketlane.com",
    "userId": 201,
    "firstName": "John",
    "lastName": "Doe"
  },
  "private": true
}