Download OpenAPI specification:Download
Identity server API
verifies if the specifed jwt token is valid
token | string <JWT> |
{- "token": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiMDJkZDVkY2ItYzA3My00ZWZhLWJjMDMtMTU3MTViYTUyNzQyIl0sImV4cCI6MTcxOTQ2NjAwNCwiaWF0IjoxNzE5NDY0MjA0LCJpc3MiOiJnbyIsIm5iZiI6MTU0NjMwMDgwMCwic3ViIjoiSm9obiBTbWl0aCJ9.LZBZlxsmPNXB2mHas_k8YYZgCWRxktRojys9LMkqy5wAhiMILujtn9fJ0t2Ia_RTNJ_VO-ghi_0QDotFG1zTguiG7chl-SFU0ZtdksSxcIpeToab89M0ZD29MYw8y1yz00YFuircUBExe_5EJSSbHIMhLbdCNPa4fisySFYdRKZr9c7wsENx-Ti-DxhGsvQyhCFl2rvFdiVmf5uY_cN8iYRe6JUIrJZQhZRIwokjpJwRPWS5fpd-fA3m7AbD3j3p9ItDMqzlZzT7zcPQJyODUcMZTKgDbwhXntS2O2XJkrXG6VfvNYwTHJ5Nq1jWnh7lKBfELpZKOuR2hQj3zt11KVD6sj17gru1vbjGYTmIagP47CPvPV9zrzg6MAMgT-CWYxVk6tFRePK-_Cz32nU_XrXA1jIuaF2yb6HOgdQg3RlQelYukm_FtJpA756VH1NabsrkgeRApIg-eTeeLVnNgQIi0n_nPir72x8gVuILiiegs7JD-s6h3Gevu9mj9A74pEtZOH2gCrFWIqkDcw7bT_2fbGPfQd8d3KjEsTSyndUxR64jxOnFKcvzmNFLfBh0s-oORX5UMeEbikbkUMIp0hJQLGdD6W0yaEJxo2MQUojFmuc6kGxWB3cIAWUXw2j6kEA18jcCzMwXiLOAXyepjKZZPAoM9yxtOHydmAzyUsI"
}
registers a new user
name | string |
string <email> | |
password | string |
reset_password | boolean |
{- "name": "John Smith",
- "email": "john.smith@example.com",
- "password": "testing1234",
- "reset_password": false
}
"User Registered"
authenticates an existing user
string <email> | |
password | string |
{- "email": "john.smith@example.com",
- "password": "testing1234"
}
{- "uid": "02dd5dcb-c073-4efa-bc03-15715ba52742",
- "name": "John Smith",
- "email": "john.smith@example.com",
- "active": true,
- "reset_password": false,
- "token": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiMDJkZDVkY2ItYzA3My00ZWZhLWJjMDMtMTU3MTViYTUyNzQyIl0sImV4cCI6MTcxOTQ2NDkzNiwiaWF0IjoxNzE5NDYzMTM2LCJpc3MiOiJnbyIsIm5iZiI6MTU0NjMwMDgwMCwic3ViIjoiSm9obiBTbWl0aCJ9.gSi7ZAi3OqF-JMVhlKSzI1ckpAkaI535kEMrlXlJxdit5a6GjTQC7VpqIoCydWicrogdIQoGwXIHHyN_DEoozA0CZKGjEqu0LyFIPILpICo8HyVklx_G3cP_X_Kn2nPwPvTxI84b3S1m0zmV6vJUrQvF6pn1egBz36jQ-tEdIno3vDc1nYupXBim-YzPTSeGFx9Nn86NoAT9vHDZBi_RIks40_sH1e4l1d3E-3FP1VkAAPjx-AkUZuEFgbWatl9390SnX2Wsd8X9GRiQ9JAbiw2ySVFOZ1lvcEVbysqxP9Bp3mE2xBlwJdkG2ZFWSIHDbR3pkGChfgipRjGkI757q9isJuIAOu2OmJjulsd373STruNKmPb0R8JoB-mI2VdLl-8fdEEvb7_KNdJVePMd-h-RQcXL-ScJSXeF_uS5nXmgTmEKBXeNVANAhyAWTc-Mg1Ta5S6F0DRc7HAY2iiEHPackuWnafQVbly19uy0BQICKpsaLAQRw3LuOmtv-LCkrWwCzUZD7pIH_kD88iijywebxbOGer9OprV4_Qn-xBJNAHfCRKGT4ivR6bV8PFuOG7RVBZCCPtEugIp9vh_O8TVYgyoXAXRxyZy8iyyUjuayEB1HCBCOFIsuJ5K6E1SlUANpCqvaa8F4UkpWdVfew37siB9RYBNjdoYZbO-LM64"
}
resets a users password
user_uid | string <uuid> |
old_password | string |
new_password | string |
{- "user_uid": "02dd5dcb-c073-4efa-bc03-15715ba52742",
- "old_password": "testing1234",
- "new_password": "newtesting1234"
}
"Error Registering"
verifies if the specifed jwt token is valid
token | string <JWT> |
{- "token": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiMDJkZDVkY2ItYzA3My00ZWZhLWJjMDMtMTU3MTViYTUyNzQyIl0sImV4cCI6MTcxOTQ2NjAwNCwiaWF0IjoxNzE5NDY0MjA0LCJpc3MiOiJnbyIsIm5iZiI6MTU0NjMwMDgwMCwic3ViIjoiSm9obiBTbWl0aCJ9.LZBZlxsmPNXB2mHas_k8YYZgCWRxktRojys9LMkqy5wAhiMILujtn9fJ0t2Ia_RTNJ_VO-ghi_0QDotFG1zTguiG7chl-SFU0ZtdksSxcIpeToab89M0ZD29MYw8y1yz00YFuircUBExe_5EJSSbHIMhLbdCNPa4fisySFYdRKZr9c7wsENx-Ti-DxhGsvQyhCFl2rvFdiVmf5uY_cN8iYRe6JUIrJZQhZRIwokjpJwRPWS5fpd-fA3m7AbD3j3p9ItDMqzlZzT7zcPQJyODUcMZTKgDbwhXntS2O2XJkrXG6VfvNYwTHJ5Nq1jWnh7lKBfELpZKOuR2hQj3zt11KVD6sj17gru1vbjGYTmIagP47CPvPV9zrzg6MAMgT-CWYxVk6tFRePK-_Cz32nU_XrXA1jIuaF2yb6HOgdQg3RlQelYukm_FtJpA756VH1NabsrkgeRApIg-eTeeLVnNgQIi0n_nPir72x8gVuILiiegs7JD-s6h3Gevu9mj9A74pEtZOH2gCrFWIqkDcw7bT_2fbGPfQd8d3KjEsTSyndUxR64jxOnFKcvzmNFLfBh0s-oORX5UMeEbikbkUMIp0hJQLGdD6W0yaEJxo2MQUojFmuc6kGxWB3cIAWUXw2j6kEA18jcCzMwXiLOAXyepjKZZPAoM9yxtOHydmAzyUsI"
}
authenticates an existing user
string <email> | |
password | string |
{- "email": "john.smith@example.com",
- "password": "testing1234"
}
{- "uid": "02dd5dcb-c073-4efa-bc03-15715ba52742",
- "name": "John Smith",
- "email": "john.smith@example.com",
- "active": true,
- "reset_password": false,
- "token": "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiMDJkZDVkY2ItYzA3My00ZWZhLWJjMDMtMTU3MTViYTUyNzQyIl0sImV4cCI6MTcxOTQ2NDkzNiwiaWF0IjoxNzE5NDYzMTM2LCJpc3MiOiJnbyIsIm5iZiI6MTU0NjMwMDgwMCwic3ViIjoiSm9obiBTbWl0aCJ9.gSi7ZAi3OqF-JMVhlKSzI1ckpAkaI535kEMrlXlJxdit5a6GjTQC7VpqIoCydWicrogdIQoGwXIHHyN_DEoozA0CZKGjEqu0LyFIPILpICo8HyVklx_G3cP_X_Kn2nPwPvTxI84b3S1m0zmV6vJUrQvF6pn1egBz36jQ-tEdIno3vDc1nYupXBim-YzPTSeGFx9Nn86NoAT9vHDZBi_RIks40_sH1e4l1d3E-3FP1VkAAPjx-AkUZuEFgbWatl9390SnX2Wsd8X9GRiQ9JAbiw2ySVFOZ1lvcEVbysqxP9Bp3mE2xBlwJdkG2ZFWSIHDbR3pkGChfgipRjGkI757q9isJuIAOu2OmJjulsd373STruNKmPb0R8JoB-mI2VdLl-8fdEEvb7_KNdJVePMd-h-RQcXL-ScJSXeF_uS5nXmgTmEKBXeNVANAhyAWTc-Mg1Ta5S6F0DRc7HAY2iiEHPackuWnafQVbly19uy0BQICKpsaLAQRw3LuOmtv-LCkrWwCzUZD7pIH_kD88iijywebxbOGer9OprV4_Qn-xBJNAHfCRKGT4ivR6bV8PFuOG7RVBZCCPtEugIp9vh_O8TVYgyoXAXRxyZy8iyyUjuayEB1HCBCOFIsuJ5K6E1SlUANpCqvaa8F4UkpWdVfew37siB9RYBNjdoYZbO-LM64"
}
registers a new user
name | string |
string <email> | |
password | string |
reset_password | boolean |
{- "name": "John Smith",
- "email": "john.smith@example.com",
- "password": "testing1234",
- "reset_password": false
}
"User Registered"
resets a users password
user_uid | string <uuid> |
old_password | string |
new_password | string |
{- "user_uid": "02dd5dcb-c073-4efa-bc03-15715ba52742",
- "old_password": "testing1234",
- "new_password": "newtesting1234"
}
"Error Registering"
grants a user an existing role
role_id | number |
user_uid | string <uuid> |
{- "role_id": 0,
- "user_uid": "02dd5dcb-c073-4efa-bc03-15715ba52742"
}
true
removes a permission from an existing role
role_id | number |
permission_id | number |
{- "role_id": 0,
- "permission_id": 0
}
true
revokes a role from a user
role_id | number |
user_uid | string <uuid> |
{- "role_id": 0,
- "user_uid": "02dd5dcb-c073-4efa-bc03-15715ba52742"
}
true