Revoke a specific session
/v1/auth/sessions/{id}Revokes one of the caller's own sessions by its refresh-token id. Guarded by UserJwtGuard; returns 204 No Content on success and 404 when the session does not exist or does not belong to the caller.
Path Parameters
idstring Required Responses
Session revoked
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
curl -X DELETE "https://auth.canopy-io.com/v1/auth/sessions/value"
HTTP/1.1 204 Session revoked (empty body)
Tell us how we can improve this guide.