POST
/
sessions
/
unsubscribe
curl --request POST \
  --url https://api.gleap.io/v3/sessions/unsubscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'project: <project>' \
  --data '{
  "reason": "<string>",
  "sessions": [
    {
      "userId": "<string>",
      "email": "<string>"
    }
  ]
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json
sessions
object[]
required
reason
string

Response

200 - application/json
Ok
success
boolean
required