Skip to main content
POST
/
powerpath
/
resetAttempt
Reset attempt
curl --request POST \
  --url https://api.alpha-1edtech.ai/powerpath/resetAttempt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "student": "<string>",
  "lesson": "<string>"
}
'
{
  "success": true,
  "score": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
student
string
required

The sourcedId of the student for who the attempt should be reset

lesson
string
required

The sourcedId of the lesson (ComponentResource)

Response

Success

success
boolean
required

Whether the reset was successful

score
number
required

The reset score (always 0)