DevZero Logo
DevZero

update CLI session

update a CLI session by the session ID; calling it as the authenticated user will update the session with the calling user's information

PUT
/cli/sessions/{session_id}
/cli/sessions/{session_id}

Request Body

application/jsonOptional

bodyunknown

Path Parameters

session_id
Required
string

ID of CLI session

Header Parameters

Authorization
Required
string

sub

curl -X PUT "https://api.devzero.io/backend/v0/cli/sessions/string" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d 'null'

session updated, a subsequent GET will return the finalized session

{
  "access_token": "string",
  "access_token_expires_at": "2019-08-24T14:15:22Z",
  "id": "string",
  "login_url": "string",
  "user_email": "string",
  "user_id": "string"
}