|
|
version: v1
|
|
|
kind: HttpApi
|
|
|
metadata:
|
|
|
service: users
|
|
|
path: /users
|
|
|
endpoints:
|
|
|
- method: adddCompanyUsers
|
|
|
route:
|
|
|
post: /company-user
|
|
|
- method: updateCompanyUsers
|
|
|
route:
|
|
|
put: /company-user
|
|
|
- method: listCompanyUsers
|
|
|
route:
|
|
|
post: /company-user/search
|
|
|
- method: getCompanyUsers
|
|
|
route:
|
|
|
get: /company-user/{Id}
|
|
|
- method: enableCompanyUsers
|
|
|
route:
|
|
|
put: /company-user/enable
|
|
|
- method: companyUserResetPassword
|
|
|
route:
|
|
|
put: /company-user/reset-password |
...
|
...
|
|