Extend an activity session by a number of minutes
POST/api/v1/ActivitySession/:sessionId/Extend
Adds time to an activity session and returns the updated session. The session's connection profile must allow extensions, extensions must remain, and the requested time cannot exceed the length allowed for one extension. If the body is left out or the number is zero or negative, the full allowed extension is added.
Permission required: Administrators and application accounts, or the user who owns the session.
Request
Responses
- 200
- 400
- 401
- 404
- 500
The session was extended. The body is the updated activity session.
The session cannot be extended, for example because extensions are not allowed, none remain, or the time is too long. The body is the error message.
The request is not signed in, or the sign-in has expired.
No activity session exists with this identifier.
The caller is not an administrator, an application account or the session owner. The server fails the request instead of returning 403.