GET accounts/:id
- Returns the account associated with the given
id
.
GET accounts?email=
- Returns the account associated with the given
email
.
POST accounts/
- Creates and returns a new account.
PUT accounts/:id
- Updates the account associated with the given
id
.
PUT accounts?email=
- Updates the account associated with the given
email
.
DELETE accounts/:id
- Deletes the account associated with the given
id
.
DELETE accounts?email=
- Deletes the account associated with the given
email
.