# Users

## ListRoles

 - [GET /v1/roles](https://apidoc.authmind.com/docs/users/paths/~1v1~1roles/get.md): Fetches list of roles. User must have a valid token with required permissions.

## ListUsers

 - [GET /v1/users](https://apidoc.authmind.com/docs/users/paths/~1v1~1users/get.md): Fetches list of active users associated with a company. User must have a valid token with required permissions.

## AddUser

 - [POST /v1/user](https://apidoc.authmind.com/docs/users/paths/~1v1~1user/post.md): Add user by specifying relevant fields. User must have a valid token with required permissions.

## DeleteUser

 - [DELETE /v1/user](https://apidoc.authmind.com/docs/users/paths/~1v1~1user/delete.md): Delete user by specifying id or email. Either id or email is required. If both are provided then an error is returned. The user must have a token with valid permissions.

## UpdateUser

 - [PATCH /v1/user](https://apidoc.authmind.com/docs/users/paths/~1v1~1user/patch.md): Update user by specifying id or email. Either id or email is required. If both are provided then an error is returned. The user must have a token with valid permissions.

