REST API
Search…
Roles
Get roles and permission by user id.
You can get a user role. Id roles options are:
"idRole": 1 -> Admin
"idRole": 2 -> Supplier
Only Outshifter Admin can update user roles.
You can also retrieve user roles with general user information endpoint. Check the isAdmin or the isSupplier values.
If you just want to get user role, this endpoint is faster.
get
https://api.outshifter.com
/role/:id
User role
Copy link