Update a forum

PUT /v1/forums/{forumId}

Update a forum

Path parameters

  • forumId string Required

    The id of the forum

application/json

Body Required

  • name string

    The name of the forum

  • description string | null

    The description of the forum

  • emoji string | null

    The emoji of the forum

  • privacy string

    Privacy of the forum

    Values are Private or Secret.

Responses

  • 200 application/json

    Forum successfully updated

    Hide response attributes Show response attributes object
    • id string Required

      The id of the forum.

    • name string Required

      The name of the forum.

    • emoji string

      The emoji of the forum

    • description string Required

      The description of the forum

    • createdAt integer Required

      Timestamp in ms of creation date

    • privacy string Required

      Privacy of the forum

      Values are Private or Secret.

  • 400

    Malformed payload

  • 404

    Forum not found

PUT /v1/forums/{forumId}
curl \
 --request PUT 'https://openapi.meltingspot.io/v1/forums/{forumId}' \
 --header "Content-Type: application/json" \
 --data '{"name":"string","description":"string","emoji":"string","privacy":"Private"}'
Request examples
{
  "name": "string",
  "description": "string",
  "emoji": "string",
  "privacy": "Private"
}
Response examples (200)
{
  "id": "string",
  "name": "string",
  "emoji": "string",
  "description": "string",
  "createdAt": 42,
  "privacy": "Private"
}