Skip to main content
PATCH
/
v1
/
auth
/
sessions
/
{session_id}
Patch an auth session
curl --request PATCH \
  --url https://api.usezombie.com/v1/auth/sessions/{session_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "status": "<string>"
}
'
{
  "status": "<string>",
  "token": "<string>",
  "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

session_id
string<uuid>
required

Auth session identifier

Body

application/json
token
string
required

Bearer token from OAuth flow

status
string

Session transition target. Only 'complete' is legal from 'pending'.

Allowed value: "complete"

Response

Session completed

status
string
required
Allowed value: "complete"
token
string
required

Bearer token now attached to the session

request_id
string<uuid>
required

Unique request identifier