cURL
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"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the space
Space updated successfully
The response is of type string.
string