Skip to main content
PATCH
/
sessions
/
update
/
{sessionId}
Update Session
curl --request PATCH \
  --url https://api.series.hr/sessions/update/{sessionId} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "Title": "<string>",
  "Host": "<string>",
  "Scheduled": "2023-11-07T05:31:56Z",
  "Duration": 123
}
'
Update an existing session with new details.

Request

curl -X PATCH https://api.series.hr/sessions/update/session_abc123 \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "Title": "Advanced Training Session",
    "Duration": 7200
  }'

Parameters

sessionId
string
required
The session ID to update
Title
string
Updated session title
Host
string
Updated host Roblox user ID
Scheduled
string
Updated ISO 8601 scheduled start time
Duration
integer
Updated session duration in seconds

Response

200
{
  "success": true,
  "data": {
    "sessionId": "session_abc123",
    "Title": "Advanced Training Session",
    "Duration": 7200,
    "updatedAt": "2024-01-15T11:00:00Z"
  }
}

Authorizations

apikey
string
header
required

Path Parameters

sessionId
string
required

Body

application/json
Title
string
Host
string
Scheduled
string<date-time>
Duration
integer

Response

200

Session updated