cURL
curl --request PATCH \ --url http://localhost:8091/api/servers/{serverID} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "data": { "id": "<string>", "name": "<string>", "createdBy": "<string>", "createdAt": "2023-11-07T05:31:56Z", "iconPath": "<string>", "role": "<string>", "memberCount": 123 } }
Updates the server name. Requires owner or admin role.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Server ID
New server name (1-64 characters)
1 - 64
Server updated
Show child attributes