The endpoint that the application calls to revoke an access token. If this is a local endpoint, you can use a :: separator to specify functions within a file.
The specified endpoint, whether it is remote or local, must use HTTPS.
// remote endpoint
revoke-endpoint (https://accounts.example/api/revoke-token)
// local endpoint
revoke-endpoint (AuthEndpoints.js::revokeEndpoint)A local endpoint receives $clientId, $clientSecret, and $accessToken parameters in its input object.
export function revokeEndpoint(input) {
const { $clientId, $clientSecret, $accessToken } = input
// code to revoke authorization
}Copyright 2025 Samsung All rights reserved