StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Sessions
Update Session
This endpoint updates a session
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
This is the ID of the session to be updated.
Response
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": ""
}
]
}
}
}
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": ""
}
]
}
}
}