{"info":{"_postman_id":"fbc27156-acd1-40fb-911f-053538bf7dda","name":"FortiSafe","description":"<html><head></head><body><p>FortiSafe is a secure and efficient resource management platform.The system offers role and group based access control for resources. It features robust user registration and authentication, allowing seamless account deactivation and deletion while adhering to data retention policies. It guards against vulnerabilities like SQL injection attacks and supports bulk upload users and tasks via CSV</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"28558819","collectionId":"fbc27156-acd1-40fb-911f-053538bf7dda","publishedId":"2s946mZ9Ld","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-22T10:55:55.000Z"},"item":[{"name":"User","item":[{"name":"Create User","id":"05c9fdf6-71d0-43f6-879f-2adf39ddbcdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"User4\",\r\n    \"email\":\"user4@gmail.com\",\r\n    \"password\":\"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/user/create","urlObject":{"path":["api","user","create"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"05c9fdf6-71d0-43f6-879f-2adf39ddbcdb"},{"name":"Login User","id":"f26b6f6e-11d0-4599-bced-91d42531ecd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"user1@gmail.com\",\r\n    \"password\":\"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/user/login","urlObject":{"path":["api","user","login"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f26b6f6e-11d0-4599-bced-91d42531ecd5"},{"name":"Get User","id":"2ebb2b8a-2ce5-4322-945f-061f8add0254","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMDMzOTdjNGUtMDkyYy00YzMxLTgwN2QtMzQ3NWM2ZDM5MDEwIn0.xl9LzffaAUfs67Hh3837CCqFduHCDosrpb6JGiuXJL0","type":"text"}],"url":"http://localhost:3000/api/user/get","urlObject":{"path":["api","user","get"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ebb2b8a-2ce5-4322-945f-061f8add0254"},{"name":"Deactivate User","id":"d7a91d12-340b-4f17-b1e5-f5cc7227f7c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiYTYwMzZmZDMtZDBkMy00ODllLWE2MDMtM2M2YzI3OGNmNzcwIn0.uLr8Imlhnk4HliVLKo9x4JgBpim9J4VloqUacmrRSLw","type":"text"}],"url":"http://localhost:3000/api/user/deactivate","urlObject":{"path":["api","user","deactivate"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7a91d12-340b-4f17-b1e5-f5cc7227f7c7"},{"name":"Activate User","id":"477a2cc1-6c94-4e76-95fa-0af3ddb39f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiYTYwMzZmZDMtZDBkMy00ODllLWE2MDMtM2M2YzI3OGNmNzcwIn0.uLr8Imlhnk4HliVLKo9x4JgBpim9J4VloqUacmrRSLw","type":"text"}],"url":"http://localhost:3000/api/user/activate","urlObject":{"path":["api","user","activate"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"477a2cc1-6c94-4e76-95fa-0af3ddb39f0d"},{"name":"Delete User","id":"1a9f513e-4a44-4c93-ae8f-f41b6aa28f7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMjNjMTJlZDctMmUwOS00ZTRhLTllY2UtNTAyOTA3YWUzODIwIn0.WJ4VtB8GmqMfynVrh-WkeLnc87VbhwRQwSK2Jmxon6g","type":"text"}],"url":"http://localhost:3000/api/user/delete","urlObject":{"path":["api","user","delete"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"1a9f513e-4a44-4c93-ae8f-f41b6aa28f7a"},{"name":"Bulk Create User","id":"b4018158-ba64-4141-a9d4-296bee5f1c8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"users","type":"file","src":"/C:/Users/praso/Downloads/users.csv"}]},"url":"http://localhost:3000/api/user/create/bulk","urlObject":{"path":["api","user","create","bulk"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4018158-ba64-4141-a9d4-296bee5f1c8f"},{"name":"Admin Login","id":"db4d37cb-d469-4f40-88ae-cd6df1ac34b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"admin@prasoonsoni.com\",\r\n    \"password\":\"Prasoon@admin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/admin/login","urlObject":{"path":["api","admin","login"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"db4d37cb-d469-4f40-88ae-cd6df1ac34b0"}],"id":"e3f80e4b-17aa-4f16-ab04-2497ae4d34f1","_postman_id":"e3f80e4b-17aa-4f16-ab04-2497ae4d34f1","description":""},{"name":"Permission","item":[{"name":"Create Permission","id":"c16f3606-7756-44e0-b56d-a298b4543d2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"delete\",\r\n    \"description\":\"For Deleting Resources\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/permission/create","urlObject":{"path":["api","permission","create"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"c16f3606-7756-44e0-b56d-a298b4543d2c"},{"name":"Get All Permissions","id":"f9e94fde-1874-4dcd-9a60-1c375781a99b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"url":"http://localhost:3000/api/permission/all","urlObject":{"path":["api","permission","all"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9e94fde-1874-4dcd-9a60-1c375781a99b"}],"id":"2dc6aea5-dc59-49ac-b64c-b159572d9065","_postman_id":"2dc6aea5-dc59-49ac-b64c-b159572d9065","description":""},{"name":"Role","item":[{"name":"Create Role","id":"d5d305db-78bc-4934-bf9b-da5bbede983b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Task Creator\",\r\n    \"description\": \"Task Creator has complete access\",\r\n    \"permissions\": [\r\n        \"aeac4eed-c8e7-40bd-a248-5969ae54f6e5\",\r\n        \"2667de4b-3016-4979-9be4-451ec4bf702f\",\r\n        \"dea21709-5588-4fe4-b5d9-e2d328dcc64d\",\r\n        \"b5ac0fdf-ef69-4e2b-a46c-bf7a0f7cd9eb\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/role/create","urlObject":{"path":["api","role","create"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5d305db-78bc-4934-bf9b-da5bbede983b"},{"name":"AddPermission","id":"e2224772-b249-40c4-a3f6-04d2d92de575","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"role_id\": \"01ca3bfe-df5c-4448-a0e3-bc7f4f86c7d1\",\r\n    \"permissions\": [\r\n        \"eec1e2a3-e756-40ff-88b4-52460e460a56\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/role/permission/add","urlObject":{"path":["api","role","permission","add"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2224772-b249-40c4-a3f6-04d2d92de575"},{"name":"Get All Roles","id":"9e92bd60-932e-4c19-9fc3-1e8c8d1f090c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"url":"http://localhost:3000/api/role/get/all","urlObject":{"path":["api","role","get","all"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e92bd60-932e-4c19-9fc3-1e8c8d1f090c"},{"name":"Remove Permission","id":"cfcd8919-145d-4083-a258-def36c9bdc66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"role_id\":\"d8083c38-7fbf-4e9c-8c97-e76e2a055452\",\r\n    \"permission_id\":\"3d4ebad3-d784-409c-a44d-7e49e76a6d44\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/role/permission/remove","urlObject":{"path":["api","role","permission","remove"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"cfcd8919-145d-4083-a258-def36c9bdc66"},{"name":"Assign Role","id":"12d8ae0a-7bb7-4edc-ab73-edfc6f5f3f05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":\"716d68dc-b76f-4846-a4ba-ee0d6bc69787\",\r\n    \"role_id\":\"a8cb314c-6ed5-4daa-8c94-a94b6942fa50\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/role/assign","urlObject":{"path":["api","role","assign"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"12d8ae0a-7bb7-4edc-ab73-edfc6f5f3f05"},{"name":"Unassign Role","id":"456ba78c-1459-495a-bbcb-e1f827a37450","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"url":"http://localhost:3000/api/role/unassign?user_id=03397c4e-092c-4c31-807d-3475c6d39010","urlObject":{"path":["api","role","unassign"],"host":["http://localhost:3000"],"query":[{"key":"user_id","value":"03397c4e-092c-4c31-807d-3475c6d39010"}],"variable":[]}},"response":[],"_postman_id":"456ba78c-1459-495a-bbcb-e1f827a37450"}],"id":"86fc767c-5936-4142-8c3f-6a388067d552","_postman_id":"86fc767c-5936-4142-8c3f-6a388067d552","description":""},{"name":"Resource","item":[{"name":"Create Resource","id":"94aa1bdc-c110-45c9-bb55-a9f6051f3049","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZWRjYTE4NDMtZTEyZi00MTg5LTllYjctYzEzNDRlOWM3MTc2In0.LMPFW5Dl0lP42Q9eP6cFdRIjIxBDUjHbEbZ9zdP9CxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Task1\",\r\n    \"description\":\"This is Task1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/resource/create","urlObject":{"path":["api","resource","create"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"94aa1bdc-c110-45c9-bb55-a9f6051f3049"},{"name":"Get Resource","id":"431de985-ea75-4e8d-a18d-8a46e9185683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZTdkMjVmYjAtY2Q2Yi00OTkwLWE3YmUtNGMxYzk1YTFkNzQyIn0.lAJIUNQRWTVPTvURZbcqI0v_0UmYN47FkDaW-S3VUao","type":"text"}],"url":"http://localhost:3000/api/resource/get/:resource_id","urlObject":{"path":["api","resource","get",":resource_id"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"c9aafd2f-73b2-44d1-8ea9-2250b9fe878d","key":"resource_id"}]}},"response":[],"_postman_id":"431de985-ea75-4e8d-a18d-8a46e9185683"},{"name":"Delete Resource","id":"d626f651-525a-4fbc-bf8b-82eeaec069c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiN2IwNTkzYTItNGU0OS00N2M1LWIzOTctNWJlZjQ4ZGU5MWE3In0.uZFd0jnFWenajCXM7ZO7CWwlBBc5vjKnC8WJzurfnvg","type":"text"}],"url":"http://localhost:3000/api/resource/delete/:resource_id","urlObject":{"path":["api","resource","delete",":resource_id"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"8fe142d2-3471-4883-acb9-18a71b7585c1","key":"resource_id"}]}},"response":[],"_postman_id":"d626f651-525a-4fbc-bf8b-82eeaec069c5"},{"name":"Update Resource","id":"d1790e29-8619-44e3-abd6-7151f302624e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiN2IwNTkzYTItNGU0OS00N2M1LWIzOTctNWJlZjQ4ZGU5MWE3In0.uZFd0jnFWenajCXM7ZO7CWwlBBc5vjKnC8WJzurfnvg","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"new name2\",\r\n    \"description\":\"new description2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/resource/update/:resource_id","urlObject":{"path":["api","resource","update",":resource_id"],"host":["http://localhost:3000"],"query":[],"variable":[{"type":"any","value":"6ad8fac8-b372-4b08-8074-262a97f252c1","key":"resource_id"}]}},"response":[],"_postman_id":"d1790e29-8619-44e3-abd6-7151f302624e"},{"name":"Bulk Create Resource","id":"624ab1ad-bab0-4132-bd70-1d269394ffc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZmQyNDRkNGQtMWQ0NC00YjlkLThkY2UtM2Q5N2VmYzE3MTQxIn0.dJyTvpTwcVccMz6A0la-0lDR9SuSU7LUsKRgGnqOIoQ","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"resources","type":"file","src":"/C:/Users/praso/Downloads/resources.csv"}]},"url":"http://localhost:3000/api/resource/create/bulk","urlObject":{"path":["api","resource","create","bulk"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"624ab1ad-bab0-4132-bd70-1d269394ffc7"},{"name":"Add Associated Roles","id":"4fa91ebb-c724-4d23-ae82-7250347e205e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resource_id\":\"897bee2c-6fec-47a9-a125-89bc043233b5\",\r\n    \"roles\":[\r\n        \"cc640dbb-5844-4a66-b23c-54e77f2a76f1\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/resource/role/add","urlObject":{"path":["api","resource","role","add"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"4fa91ebb-c724-4d23-ae82-7250347e205e"},{"name":"Remove Associated Role","id":"a9fe90bd-5353-4776-acf7-91cf30c8f5fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resource_id\":\"f2dcdd74-2953-455b-b80e-7ccb102d3984\",\r\n    \"role_id\":\"e1133859-f013-4456-9fa5-c153572d1d19\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/resource/role/remove","urlObject":{"path":["api","resource","role","remove"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9fe90bd-5353-4776-acf7-91cf30c8f5fa"},{"name":"Add Associated Group","id":"0fba510a-8d99-49cf-88a8-b31be01e41ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resource_id\":\"c9aafd2f-73b2-44d1-8ea9-2250b9fe878d\",\r\n    \"groups\":[\r\n        \"03e12478-6a36-4a29-9a56-6221192c2ef1\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/resource/group/add","urlObject":{"path":["api","resource","group","add"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fba510a-8d99-49cf-88a8-b31be01e41ea"},{"name":"Remove Associated Group","id":"a175b6df-b059-4caf-b7a6-53fc06ea250b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"resource_id\": \"f2dcdd74-2953-455b-b80e-7ccb102d3984\",\r\n    \"group_id\": \"00a33c40-f23a-48a0-9175-0e3b600d707d\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/resource/group/remove","urlObject":{"path":["api","resource","group","remove"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"a175b6df-b059-4caf-b7a6-53fc06ea250b"}],"id":"e8873411-324c-4dcd-9903-b6bd560e6835","_postman_id":"e8873411-324c-4dcd-9903-b6bd560e6835","description":""},{"name":"Group","item":[{"name":"Create Group","id":"8a68e1b7-c431-4d39-9ec7-ea6e91503df4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"\r\n{\r\n    \"name\":\"Creators\",\r\n    \"description\":\"Creators has all the access\",\r\n    \"permissions\":[\r\n        \"aeac4eed-c8e7-40bd-a248-5969ae54f6e5\",\r\n        \"2667de4b-3016-4979-9be4-451ec4bf702f\",\r\n        \"dea21709-5588-4fe4-b5d9-e2d328dcc64d\",\r\n        \"b5ac0fdf-ef69-4e2b-a46c-bf7a0f7cd9eb\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/group/create","urlObject":{"path":["api","group","create"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a68e1b7-c431-4d39-9ec7-ea6e91503df4"},{"name":"Add Permission","id":"91247e75-6e84-4aec-9bae-aabe3f69df27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"\r\n{\r\n    \"group_id\":\"00a33c40-f23a-48a0-9175-0e3b600d707d\",\r\n    \"permissions\":[\r\n        \"dbcb1c49-2303-41c3-9211-80b5e555f01e\",\r\n        \"92ad9ddb-e351-40f2-9be2-74d7b7eca5f8\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/group/permission/add","urlObject":{"path":["api","group","permission","add"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"91247e75-6e84-4aec-9bae-aabe3f69df27"},{"name":"Remove Permission","id":"6579e5fd-85e7-4ee1-abb9-9a11d45a21fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"\r\n{\r\n    \"group_id\":\"00a33c40-f23a-48a0-9175-0e3b600d707d\",\r\n    \"permission_id\":\"dbcb1c49-2303-41c3-9211-80b5e555f01e\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/group/permission/remove","urlObject":{"path":["api","group","permission","remove"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"6579e5fd-85e7-4ee1-abb9-9a11d45a21fb"},{"name":"Assign Group","id":"f5a5b03c-b487-46ef-879b-a6ffc7321498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"user_id\":\"edca1843-e12f-4189-9eb7-c1344e9c7176\",\r\n    \"group_id\":\"03e12478-6a36-4a29-9a56-6221192c2ef1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/group/assign","urlObject":{"path":["api","group","assign"],"host":["http://localhost:3000"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5a5b03c-b487-46ef-879b-a6ffc7321498"},{"name":"Unassign Group","id":"30663868-a200-40f0-9a41-d67c936e1305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc0FkbWluIjp0cnVlfQ.tIco0FkJx4GiQ7kBhT0gwIf3vWoQYJePvpU7RoiEWxU","type":"text"}],"url":"http://localhost:3000/api/group/unassign?user_id=03397c4e-092c-4c31-807d-3475c6d39010","urlObject":{"path":["api","group","unassign"],"host":["http://localhost:3000"],"query":[{"key":"user_id","value":"03397c4e-092c-4c31-807d-3475c6d39010"}],"variable":[]}},"response":[],"_postman_id":"30663868-a200-40f0-9a41-d67c936e1305"}],"id":"0dca5f07-e965-44b4-8c18-1934b1db38f1","_postman_id":"0dca5f07-e965-44b4-8c18-1934b1db38f1","description":""},{"name":"http://localhost:3000/contact","id":"a325665e-e1d5-4e7b-9a79-21de9b1b97de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"name\": \"Prasoon\", \"from\": \"prasoonsoni.work@gmail.com\", \"message\": \"Hi\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/contact","urlObject":{"protocol":"http","port":"3000","path":["contact"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a325665e-e1d5-4e7b-9a79-21de9b1b97de"}],"event":[{"listen":"prerequest","script":{"id":"ff6978c4-ccb5-42de-82d2-1506f8e90db9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"851ecbf6-906c-437e-b350-600714b805f6","type":"text/javascript","exec":[""]}}],"variable":[{"key":"BASE_URL","value":"http://localhost:3000","type":"string"}]}