Update Space

Update space with specified identifier.

PATCH /api/v2/spaces/:space_id

Path Parameters

Name
Type
Description

space_id

string

Space ID

Headers

Name
Type
Description

Authorization

string

Content-Type

string

application/vnd.api+json

Request Body

Name
Type
Description

name

string

Space name

image_url

string

Space image URL

// No content

Example

// PATCH /api/v2/spaces/951a951e-07de-457f-99c8-f1307fad4eeb
// Host: environment.monterosa.cloud
// Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
// Content-Type: application/vnd.api+json

{
  "data": {
    "type": "spaces",
    "id": "951a951e-07de-457f-99c8-f1307fad4eeb",
    "attributes": {
      "name": "New Name",
      "image_url": "https://environment.monterosa.cloud/images/space_image.png"
    }
  }
}

Last updated

Was this helpful?