Admin Authentication
Update my account
Changed onUpdates the authenticated admin's name, email and, optionally, password. current_password is required for every change. Send password with a matching password_confirmation to change the password. The avatar is managed by POST /account/image and DELETE /account/image.
put/account
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The updated profile.
Changes
- info
endpoint added
- info