users.yaml 1.0 KB
version: v1
kind: HttpApi
metadata:
  service: users
  path: /web/users
  endpoints:
    - method: companyUserAdd
      route:
        post: /company-user
    - method: companyUserUpdate
      route:
        put: /company-user
    - method: companyUserList
      route:
        post: /company-user/search
    - method: companyUserGet
      route:
        get: /company-user/{userId}
    - method: companyUserEnable
      route:
        put: /company-user/enable
    - method: companyUserResetPassword
      route:
        put: /company-user/reset-password
    - method: cooperationUserAdd
      route:
        post: /cooperation-user
    - method: cooperationUserUpdate
      route:
        put: /cooperation-user
    - method: cooperationUserList
      route:
        post: /cooperation-user/search
    - method: cooperationUserGet
      route:
        get: /cooperation-user/{userId}
    - method: cooperationUserEnable
      route:
        put: /cooperation-user/enable
    - method: cooperationUserResetPassword
      route:
        put: /cooperation-user/reset-password