auth

Create a new user

Create a new user with the provided username, email, password, and password confirmation

post/auth/create_user

Request

  • Base URL: https://phish.in/api/v2
  • URL: https://phish.in/api/v2/auth/create_user
  • Auth: none declared

Request body

usernamestring required

Username

emailstring required

Email

passwordstring required

Password

password_confirmationstring required

Password confirmation

Response

Create a new user and return a JWT for X-Auth-Token header

jwtstring required

JWT

usernamestring required

User's username

emailstring required

User's email address

adminboolean required

Whether the user is an admin

Changes

No recorded changes to this operation across all 1 revision of this API.