Space

Update a space

Updates a space.

API credit cost: 3

patch/spaces/{id}

Request

  • Base URL
    https://telescope.ac/api
  • Auth
    none declared

Path parameters

idstring uuid required

ID of the space to update.

Headers

Authorizationstring
Example:Bearer token

Request body

$schemastring uri

A URL to the JSON Schema for this object.

Example request

{
  "$schema": "/api/schemas/PatchSpaceWithExtrasInputBody.json",
  "custom_domains": [
    {
      "host": "new-host.com"
    }
  ],
  "space": {
    "alt": "existing-space",
    "title": "Existing Space"
  },
  "space_categories": [
    {
      "alt": "new-space-category",
      "title": "New Space Category"
    }
  ]
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "/api/schemas/PatchSpaceOutputBody.json",
  "space": {
    "publications": [
      {
        "alt": "publication"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.