Skip to main content
POST
Set or update the session goal

Authorizations

better-auth.session_token
string
cookie
required

Browser session cookie set by Better Auth sign-in.

Path Parameters

id
string
required

Body

application/json
action
enum<string>
required
Available options:
cancel

Response

The new goal state.