Skip to main content
POST
/
updateActivityToken
Update live activity token
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/updateActivityToken \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "update_activity_token": "updated-token-xyz",
  "deliverable_id": 1
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
update_activity_token
string

Update token (NOT activity_token)

Example:

"updated-token-xyz"

deliverable_id
integer

Deliverable ID (NOT device_type)

Example:

1

Response

200

Activity token updated