PUT Update Session

Update the details you provided when creating a session belonging to the API-Key by referencing the session_key - if it has not yet been started by the User.

https://openapi.paveapi.com/v1/sessions/:session_key

Replace :session_key with the unique session_key returned from your previous request, and PAVE will update the corresponding session details.

Path Parameters

Type

Description

session_key

string

The session ID generated when first created

Headers

Type

DescriptionAPI

API-Key

string

Your account's API-Key

API-Token

string

The API-Token

API-Timestamp

string

UTC Datetime string, example: 2021-05-30T12:49:19Z

Body Parameters

Type

Description

session

object

Single-level object, described in Create New Session

vehicle

object

Single-level object, described in Create New Session

sms

object

Single-level object, described in Create New SessionSample Response - 200: Ok

Sample Session Payload

{
            "session": {
                "theme": "LITE",
                "redirect_url": "https://www.url-to-redirect-user-to.com",
                "language": "EN",
                "client_id": "SOUTH234889"
            }
}

Sample Vehicle Payload

Sample SMS Payload

Sample Response (200: Ok)

Updated successfully retrieved.

Sample Response (404: Not Found)

Could not find a session matching the session_key.

Last updated