POST
/
api
/
v1
/
updateSpace
/
{spaceId}
curl --request POST \
  --url https://hero.page/api/v1/updateSpace/{spaceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Updated Space Name",
  "isPublic": true,
  "img": "https://firebasestorage.googleapis.com/v0/b/focushero-1650416072840.appspot.com/o/FCMImages%2Fdefault_spacey.webp?alt=media&token=e37eecbd-6b99-430c-b073-b57622ef8440"
}'
"OK"

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

spaceId
string
required

The ID of the space

Body

application/json
name
string

The name of the space

isPublic
boolean

Whether the space is public

img
string

Image URL for the space

Response

200 - text/plain

The response is of type string.