Skip to content
Victor Tesoura Júnior edited this page Jan 30, 2021 · 3 revisions

User has the following structure:

{
  id                  : bigInt
  name                : string
  email        : string
  email_verified_at         : dateTime
  password        : string
  status      : enum[approved,pendent,blocked]
  role_id            : Role
  rememberToken              : string
  timestamps            : timestamps
  softDeletes                :timestamp
}

The Role is a object, their format can be found at their documentation page.

Routes

Bellow the user route list:

METHOD URI NAME
GET HEAD /users users.index
POST /users users.store
GET HEAD /users/{id} users.show
PUT PATCH /users/{id} users.update
DELETE /users/{id} users.destroy
PUT PATCH /users/{id}/approve users.approve
PUT PATCH /users/{id}/block users.block
Clone this wiki locally