Fluxmail

Revoke a member session

Reference for DELETE /api/v1/me/sessions/{sessionId}.

DELETE /api/v1/me/sessions/{sessionId}

Reference for DELETE /api/v1/me/sessions/{sessionId}.

Authentication

Pass a Fluxmail member session as a bearer token. API keys cannot use this endpoint.

Request

curl 'http://localhost:8977/api/v1/me/sessions/sessionId_123' \
  -X DELETE \
  -H "Authorization: Bearer $FLUXMAIL_SESSION"

Parameters

NameLocationRequiredTypeDetails
sessionIdpathYesstringMinimum length: 1.

Responses

StatusDescriptionContent type
200Successapplication/json
400Invalid requestapplication/json
401Authentication requiredapplication/json
403Permission deniedapplication/json
404Not foundapplication/json
409Conflictapplication/json
413Request body too largeapplication/json
429Too many attemptsapplication/json

200 response

{
  "type": "object",
  "properties": {
    "data": {
      "nullable": true
    }
  }
}

Last updated