User

This section contains all the information about the user endpoint.

Current user

This api return an active user information based on the given JWT token.

  • URL: /user/current
  • Method: GET
  • Content-type: application/json

Requests description

Keys/FieldsMandatoryCriteriaDefaultDescription
Headers
AuthorizationtrueA JWT bearer token to authenticated users

Lists

This api return a list of user records.

  • URL: /user
  • Method: GET
  • Content type: application/json
  • Body: json

Requests description

Keys/FieldsMandatoryCriteriaDefaultDescription
Headers
AuthorizationtrueA JWT bearer token to authenticated users
Body
uuid (int)
per_page (int)10Specifies the number of items to display per page.
name (string)searchSearch full name.
status (string)filtersAllAccept Active or Inactive
created_at (string)sortsdescSort created at column desc or asc
updated_at (string)sorts
roles (string)includesInclude the roles associate with users
clients (string)includesInclude the clients associate with users

Single record

This api return a single user information base on the given UUID.

  • URL: /user/{uuid}
  • Method: GET
  • Content type: application/json

Requests description

Keys/FieldsMandatoryCriteriaDefaultDescription
Headers
AuthorizationtrueA JWT bearer token to authenticated users
Params
uuidtrueA uuid associate with the user.