Make a world the live one
const url = 'https://spaces.work.optidata.cloud/api/spaces/maps/a28e5bf3-26b4-4a34-9f98-9a116a2700ca/activation';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://spaces.work.optidata.cloud/api/spaces/maps/a28e5bf3-26b4-4a34-9f98-9a116a2700ca/activation \ --header 'Authorization: Bearer <token>'Makes this world the one every space of the company is laid out from. The
previously active world goes back to being a draft; its identifier is
returned in deactivated_identifier. People already inside a space see
the new world when the space reloads. Activating the world that is
already active changes nothing (deactivated_identifier: null).
Company super-administrators only.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”The world’s identifier.
Responses
Section titled “ Responses ”The world is now active.
object
object
The world this one was copied from, if any.
Grows with every saved change.
The world that stopped being active, if any.
Examples
{ "map": { "identifier": "a28e5bf3-26b4-4a34-9f98-9a116a2700ca", "name": "Head office", "source_map": null, "status": "active", "is_active": true, "version": 8, "activated_at": "2026-08-24T15:27:23-03:00", "created_by_uuid": "2d9e8f70-1a3b-4c5d-8e9f-a0b1c2d3e4f5", "updated_by_uuid": "2d9e8f70-1a3b-4c5d-8e9f-a0b1c2d3e4f5", "created_at": "2026-08-21T11:38:37-03:00", "updated_at": "2026-08-24T15:27:23-03:00" }, "deactivated_identifier": null}No authentication key was sent.
Authentication failures use an error key rather than message.
object
Examples
No bearer token sent
{ "error": "JWT passport exception: Missing bearer token in request"}The caller is not allowed to do this (see “Who may do what”), or the authentication key is not recognised (empty message).
object
Examples
Not the space's owner
{ "message": "You do not have permission to update this space."}Not a builder
{ "message": "You do not have permission to view this map."}Not a super-administrator
{ "message": "You do not have permission to activate this map."}Nothing has this identifier.
object
Examplegenerated
{ "message": "example"}Another world was activated at the same moment. Retry.
An error raised by the application’s own rules.
object
Examples
{ "error": "Another map of this workspace was activated at the same time. Please try again.", "status": 409}The authentication key is expired or not recognised. Get a fresh one and retry.
Authentication failures use an error key rather than message.
object
Examples
{ "error": "JWT passport expired: Passport expired"}