ConfirmationEmail

POST /confirmation

Used to validate a user's email.

application/json

Body

  • code string Required

    Minimum length is 1.

Responses

  • 200

    The account has been verified

  • 400

    Bad Request

  • 405

    This user has already been verified

  • 500

    Internal Server Error

POST /confirmation
curl \
 --request POST 'https://garden-to-yours.herokuapp.com/confirmation' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"code":"0b1a28fb037e58c446f57a6506322e33"}'
Request example
{
  "code": "0b1a28fb037e58c446f57a6506322e33"
}