1.0.0 • Published 7 years ago
user-ms v1.0.0
User microservice
Get user by id
# GET
`<base_url>/user/:userId`
Get all users
# GET
`<base_url>/user/all`
Add user
# POST
`<base_url>/user/add`
`{
"user_id" : string, - mandatory
"first_name" : string, - mandatory
"last_name" : string, - mandatory
"email" : string,
"phone" : string - mandatory
}`
Delete user by id
# DELETE
`<base_url>/user/:userId`
Edit user
# POST
`<base_url>/user/edit`
`{
"user_id" : string, - mandatory
"first_name" : string,
"last_name" : string,
"email" : string,
"phone" : string
}`
1.0.0
7 years ago