PUT
/
v1
/
session
curl --location --request PUT 'https://api.stateset.com/v1/session' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": ""
}'
{
    "data": {
        "update_session": {
        "returning": [
            {
            "id": "",
            "name": "",
            "uuid": "",
            "user_id": ""
            }
        ]
        }
    }

}

Body

id
string

This is the ID of the session to be updated.

Response

success
number

Indicates whether the call was successful. 1 if successful, 0 if not.

curl --location --request PUT 'https://api.stateset.com/v1/session' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": ""
}'
{
    "data": {
        "update_session": {
        "returning": [
            {
            "id": "",
            "name": "",
            "uuid": "",
            "user_id": ""
            }
        ]
        }
    }

}