Revoke an active support session
POST
/api/v1/tenant/support-access/{sessionId}/revoke
const url = 'https://app.avera.io/api/v1/tenant/support-access/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revoke';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.avera.io/api/v1/tenant/support-access/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revokeTenant owner only, and deliberately not reachable through a support session itself: Avera staff cannot revoke their own access via the customer surface.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”sessionId
required
string format: uuid
Responses
Section titled “Responses”OK
Media type*/*
object
id
required
string format: uuid
staffUserId
required
string format: uuid
staffDisplayName
required
string
staffEmail
required
string
scope
required
string
includesRegulatedData
required
boolean
justification
required
string
startedAt
required
string format: date-time
expiresAt
string | null format: date-time
endedAt
string | null format: date-time
endedReason
string | null
actionsLogged
required
integer format: int32