v1

latestOpenAPI 3.0.02026-07-1316025.3 KB
Space

Update details of a specific Space

post/api/v1/updateSpace/{spaceId}

Path parameters

spaceIdstring required

The ID of the space

Request body

namestring

The name of the space

isPublicboolean

Whether the space is public

imgstring

Image URL for the space

Example request

{
  "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"
}

Response

Space updated successfully