v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Communities::Space

Update Space

Update a space

put/communities/spaces/{id}

Path parameters

idstring required

Request body

Example request

{
  "communities_space": {
    "communities_space": {
      "name": "Welcome",
      "access": 0,
      "members_can_post": true
    }
  }
}

Response

OK

idinteger

Space ID

public_idstring nullable

Space public ID

space_group_idinteger

Space Group ID the space belongs to

workspace_idinteger

Workspace ID the space belongs to

namestring nullable

Name

access'is_open' | 'is_private' | 'is_secret'

Access level

current_pathstring nullable

Current Path

emojistring nullable

Emoji icon for the space

card_image_idinteger nullable

Card Image ID

social_image_idinteger nullable

Social Image ID

members_can_postboolean

Whether members can post in this space

members_can_inviteboolean nullable

Whether members can invite others to this space

allow_post_titlesboolean nullable

Whether posts can have titles

allow_cover_imagesboolean nullable

Whether posts can have cover images

hide_from_featuredboolean nullable

Whether to hide this space from the featured spaces list

layout_stylestring nullable

Layout style for the space

default_tabstring nullable

Default tab shown when viewing the space

default_post_sortstring nullable

Default sort order for posts

default_comment_sortstring nullable

Default sort order for comments

default_member_sortstring nullable

Default sort order for members

pinned_posts_labelstring nullable

Label for pinned posts section

seo_titlestring nullable

Seo Title

seo_descriptionstring nullable

Seo Description

sort_orderinteger nullable

Sort order within the space group

always_onboolean nullable

Always On

upgrade_urlstring nullable

Upgrade URL

created_atstring date-time nullable

Created at

updated_atstring date-time nullable

Updated at

Example response

{
  "id": 1,
  "public_id": "CdEfGh",
  "space_group_id": 1,
  "workspace_id": 42,
  "name": "Welcome",
  "access": "is_open",
  "current_path": "/welcome",
  "emoji": "👋",
  "card_image_id": null,
  "social_image_id": null,
  "members_can_post": true,
  "members_can_invite": null,
  "allow_post_titles": null,
  "allow_cover_images": null,
  "hide_from_featured": null,
  "layout_style": null,
  "default_tab": null,
  "default_post_sort": null,
  "default_comment_sort": null,
  "default_member_sort": null,
  "pinned_posts_label": null,
  "seo_title": null,
  "seo_description": null,
  "sort_order": 1,
  "always_on": null,
  "upgrade_url": null,
  "created_at": "2025-01-01T00:00:00.000Z",
  "updated_at": "2025-01-01T00:00:00.000Z"
}