Returning.AI
  1. Server
Returning.AI
  • Returning.AI
    • APIs
      • Authentication
      • System API
        • Auth
          • Secure Auth
          • register
          • verify email
          • login
        • Server
          • create new server
            POST
          • get my servers
            GET
          • update server
            PUT
          • role list of server
            GET
          • channel list of server
            GET
        • Channel
          • get channels list
          • create new channel
          • update channel
          • delete channel
        • Role
          • create new role
          • update role
          • delete role
          • add role to a user on a server
          • remove role from a user on a server
          • get role list of user on a server
        • Badge
          • get badges list
          • create new badge
          • update badge
          • delete badge
          • award badge to user
          • remove badge from user
      • Application API
        • Community Users
          • Get community users
          • Get user
        • User Fields
          • Get All User Fields
          • Get specific user field
          • Create Custom User Field
          • Update user field
          • Delete user field
        • User Field Histories
          • Get all user field histories in a community
          • Get user field histories for a specific field
          • Get user field histories for a specific user
          • Get user field histories of specific user field and user
          • Create user field history for specific user
      • Integration API
        • Users
          • Get Users with Filters
          • Create New User
          • Get User Data
          • Manage User Account
          • Get User Gamification History
          • Get User Gamification Stats
          • Bulk Import
          • Bulk Update
        • Messages
          • Send Message
          • Reply Message
          • React Message
        • Channels
          • Get Channels List
      • User API
        • API key
          • api key info
          • Get User Api Key
          • Post User Api Key
          • Update User Api Key
          • Delete Endpoint
        • Messages
          • Send Message
          • Reply Message
          • React Message
    • Channels
      • Iframe
    • Events
      • Outgoing webhooks
        • Encryption
        • User Joins Server
        • User Visits server
        • New Message Posted Anywhere
        • New Message Posted To channel
        • Purchased Store Item
      • Incoming webhooks
        • API Keys & Encryption
        • Send message into channels
        • Update Custom User Fields
        • Update In-game currency
    • Widgets
      • Channels
      • Leaderboard
      • Milestone
      • Socials
      • Store
  1. Server

update server

Developing
PUT
/servers

Request

Header Params

Body Params application/json

Example
{
    "name": "TR5-new1-Sep-Edited",
    "url_meta": {
        "title": "Genesiv SEO Title",
        "description": "Genesiv SEO Description",
        "imageLogo": "https://chartsnapshot-genesiv.s3.amazonaws.com/895e8f10-f5eb-11ef-ae51-7be624d0dfda_image.webp"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://rai-api.returning.ai/api/v1/servers' \
--header 'x-api-key: **************' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "TR5-new1-Sep-Edited",
    "url_meta": {
        "title": "Genesiv SEO Title",
        "description": "Genesiv SEO Description",
        "imageLogo": "https://chartsnapshot-genesiv.s3.amazonaws.com/895e8f10-f5eb-11ef-ae51-7be624d0dfda_image.webp"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "meta": {
        "success": true,
        "message": "Server has been updated successfully",
        "devMessage": "Server has been updated successfully"
    },
    "body": {}
}
Modified at 2025-05-22 12:20:36
Previous
get my servers
Next
role list of server