{"info":{"_postman_id":"68de7b37-9276-408f-b85a-51a81bf29d9a","name":"Cyclists","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"23223146","collectionId":"68de7b37-9276-408f-b85a-51a81bf29d9a","publishedId":"2sA3XQiNMY","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-06-16T18:54:16.000Z"},"item":[{"name":"Users","item":[{"name":"Password redefinition","item":[{"name":"Send email to change password","id":"e4a21669-00fb-4660-910b-2e38f072e589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"string","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/send-password-email","urlObject":{"protocol":"http","port":"3000","path":["api","v1","send-password-email"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5fd6f845-de8c-4d5f-8898-4ad3dff4b615","name":"200","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/send-password-email"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"message\": \"email sent\"\r\n}"}],"_postman_id":"e4a21669-00fb-4660-910b-2e38f072e589"},{"name":"Change password","id":"3edbf2ba-d40e-48a3-9cec-e5b28f840597","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"string","type":"text"},{"key":"password","value":"string","type":"text"},{"key":"password_confirmation","value":"string","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/reset-password","description":"<p>You can get the <code>token</code> and <code>email</code> fields via the email sent by <code>/send-password-email</code> route.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","reset-password"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5f37c71d-01a6-4550-ad58-efaf091f3323","name":"200","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/reset-password"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"message\": \"password changed\"\r\n}"}],"_postman_id":"3edbf2ba-d40e-48a3-9cec-e5b28f840597"}],"id":"ce62dec9-e51e-45af-ad2a-ae806c7f6e0c","_postman_id":"ce62dec9-e51e-45af-ad2a-ae806c7f6e0c","description":""},{"name":"Login","id":"e5dfd838-e8ee-42da-85b8-1e81eb3996f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"string","type":"text"},{"key":"password","value":"string","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/login","urlObject":{"protocol":"http","port":"3000","path":["api","v1","login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"b012130c-297f-4b12-8f6e-436606ec64f6","name":"201","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"string","type":"text"},{"key":"password","value":"string","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/login"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n\t\"token\": \"\",\n\t\"user_id\": 2\n}"}],"_postman_id":"e5dfd838-e8ee-42da-85b8-1e81eb3996f6"},{"name":"New user","id":"3db687a7-2d1d-4f39-9755-6e655df57727","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"string","type":"text"},{"key":"email","value":"string","type":"text"},{"key":"password","value":"string","type":"text"},{"key":"password_confirmation","value":"string","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/register","urlObject":{"protocol":"http","port":"3000","path":["api","v1","register"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"4952d8e6-e38f-4901-b691-7e0d4ed19293","name":"201","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"string","type":"text"},{"key":"email","value":"string","type":"text"},{"key":"password","value":"string","type":"text"},{"key":"password_confirmation","value":"string","type":"text"}]},"url":{"raw":"http://127.0.0.1:3000/api/v1/register","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["api","v1","register"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"id\": \"17\"\r\n}"}],"_postman_id":"3db687a7-2d1d-4f39-9755-6e655df57727"},{"name":"Edit user","id":"2c4ef188-f616-496e-8397-3dcd49e3af63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"string","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/user/{id}","description":"<p>If your token have <code>admin</code> role, you can edit other user.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user","{id}"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"121e5d93-f4ac-4c98-8d0c-e31d11974eb5","name":"204","originalRequest":{"method":"PATCH","header":[],"url":"http://127.0.0.1:3000/api/v1/user/{id}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2c4ef188-f616-496e-8397-3dcd49e3af63"},{"name":"Delete user","id":"383248f9-6950-4d1d-bec1-4971a4a40a26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/api/v1/user/{id}","description":"<p>If your token have <code>admin</code> role, you can delete other user.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user","{id}"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"039a4685-6c47-4da5-ab36-fd6872108ec5","name":"204","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/api/v1/user/{id}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"383248f9-6950-4d1d-bec1-4971a4a40a26"},{"name":"Get all users","id":"f8999e40-2f19-42cf-b0a1-27c6e864bd4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/user?email=&limit=&page=&sort=","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user"],"host":["127","0","0","1"],"query":[{"key":"email","value":""},{"key":"limit","value":""},{"key":"page","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[{"id":"e50b3a3f-946f-47e8-b83d-f639aaf7b4a9","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3000/api/v1/user?email=&limit=&page=&sort=","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["api","v1","user"],"query":[{"key":"email","value":""},{"key":"limit","value":""},{"key":"page","value":""},{"key":"sort","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"limit\": 10,\r\n\t\"page\": 1,\r\n\t\"sort\": \"Id desc\",\r\n\t\"total_rows\": 1,\r\n\t\"total_pages\": 1,\r\n\t\"rows\": [\r\n\t\t{\r\n\t\t\t\"id\": 4,\r\n\t\t\t\"name\": \"ddddd\",\r\n\t\t\t\"email\": \"ddddd@mail.com\",\r\n\t\t\t\"created_at\": \"2024-04-03T17:11:44.304123-03:00\",\r\n\t\t\t\"updated_at\": \"2024-04-03T17:11:44.304123-03:00\",\r\n\t\t\t\"bike_events\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": 1,\r\n\t\t\t\t\t\"name\": \"teste\",\r\n\t\t\t\t\t\"aditional_information\": null\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}"}],"_postman_id":"f8999e40-2f19-42cf-b0a1-27c6e864bd4b"},{"name":"Get user","id":"73073f28-171b-4e6a-9946-94bffda3a628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/user/{id}","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user","{id}"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"f8008d43-92c5-4e65-a71c-9a8679df0dea","name":"200","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/user/{id}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"id\": 1,\r\n\t\"name\": \"yyyyy\",\r\n\t\"email\": \"yyyyy@mail.com\",\r\n\t\"created_at\": \"2024-04-03T17:09:58.011166-03:00\",\r\n\t\"updated_at\": \"2024-04-03T17:09:58.011166-03:00\",\r\n\t\"bike_events\": null\r\n}"}],"_postman_id":"73073f28-171b-4e6a-9946-94bffda3a628"}],"id":"af5691f2-e019-465d-b3df-8d02d4fac3b1","_postman_id":"af5691f2-e019-465d-b3df-8d02d4fac3b1","description":""},{"name":"Bike Events","item":[{"name":"New bike event","id":"9626336c-515a-4a7c-b13b-1b80d2c95ae3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"string","type":"text"},{"key":"start_place","value":"string","type":"text"},{"key":"start_date","value":"string","type":"text"},{"key":"start_date_registration","value":"string","type":"text"},{"key":"end_date_registration","value":"string","type":"text"},{"key":"participants_limit","value":"int","description":"<p>Optional</p>\n","type":"text"},{"key":"organizer","value":"int","description":"<p>User ID</p>\n","type":"text"},{"key":"aditional_information","value":"string","description":"<p>Optional</p>\n","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/bike-event","description":"<p>If your token have <code>admin</code> role, you can create bike event in other user.</p>\n<p>date format: 2024-02-20T17:12:04-03:00</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","bike-event"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"02685fdd-2e9b-4792-9974-267d7850339c","name":"201","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://127.0.0.1:3000/api/v1/bike-event","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["api","v1","bike-event"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"id\": \"17\"\r\n}"}],"_postman_id":"9626336c-515a-4a7c-b13b-1b80d2c95ae3"},{"name":"Edit bike event","id":"a8a67361-a252-47fa-b677-e451e4516eda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"string","type":"text"},{"key":"start_place","value":"string","type":"text"},{"key":"start_date","value":"string","type":"text"},{"key":"start_date_registration","value":"string","type":"text"},{"key":"end_date_registration","value":"string","type":"text"},{"key":"participants_limit","value":"int","type":"text","description":"<p>Optional</p>\n"},{"key":"organizer","value":"int","type":"text","description":"<p>User ID</p>\n"},{"key":"aditional_information","value":"string","description":"<p>Optional</p>\n","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/bike-event/{id}","description":"<p>If your token have <code>admin</code> role, you can edit bike event from other user.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","bike-event","{id}"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"20ad9e90-71ee-45ad-8c1c-e85877903b16","name":"204","originalRequest":{"method":"PATCH","header":[],"url":"http://127.0.0.1:3000/api/v1/bike-event/{id}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a8a67361-a252-47fa-b677-e451e4516eda"},{"name":"Delete bike event","id":"702da843-86c7-407d-b84f-ab28bd503330","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/api/v1/bike-event/{id}","description":"<p>If your token have <code>admin</code> role, you can delete bike event from another user.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","bike-event","{id}"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"e9a64c3b-7224-4c99-bc22-e2a42083195a","name":"204","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/api/v1/bike-event/{id}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"702da843-86c7-407d-b84f-ab28bd503330"},{"name":"Get all bike events","id":"709f33ac-749a-4782-b0cd-e0b9a1c6fede","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/bike-event?name=&limit=&page=&sort=","urlObject":{"protocol":"http","port":"3000","path":["api","v1","bike-event"],"host":["127","0","0","1"],"query":[{"key":"name","value":""},{"key":"limit","value":""},{"key":"page","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[{"id":"34ea8910-2d1f-46db-bf4d-bdc5b8fd0ea2","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3000/api/v1/bike-event?name=&limit=&page=&sort=","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["api","v1","bike-event"],"query":[{"key":"name","value":""},{"key":"limit","value":""},{"key":"page","value":""},{"key":"sort","value":""}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"limit\": 10,\r\n\t\"page\": 1,\r\n\t\"sort\": \"Id desc\",\r\n\t\"total_rows\": 3,\r\n\t\"total_pages\": 1,\r\n\t\"rows\": [\r\n\t\t{\r\n\t\t\t\"id\": 3,\r\n\t\t\t\"name\": \"TESTANDO\",\r\n\t\t\t\"aditional_information\": null,\r\n\t\t\t\"start_place\": \"RJ\",\r\n\t\t\t\"start_date\": \"2024-07-20T17:12:04-03:00\",\r\n\t\t\t\"start_date_registration\": \"2024-02-20T17:12:04-03:00\",\r\n\t\t\t\"end_date_registration\": \"2024-06-20T17:12:04-03:00\",\r\n\t\t\t\"participants_limit\": 10,\r\n\t\t\t\"created_at\": \"2024-04-25T21:01:30.408691-03:00\",\r\n\t\t\t\"updated_at\": \"2024-04-25T21:01:30.408691-03:00\",\r\n\t\t\t\"organizer\": {\r\n\t\t\t\t\"id\": 1,\r\n\t\t\t\t\"name\": \"yyyyy\",\r\n\t\t\t\t\"email\": \"yyyyy@mail.com\"\r\n\t\t\t},\r\n\t\t\t\"participants\": null\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 2,\r\n\t\t\t\"name\": \"teste2\",\r\n\t\t\t\"aditional_information\": null,\r\n\t\t\t\"start_place\": \"RJ\",\r\n\t\t\t\"start_date\": \"2024-07-20T17:12:04-03:00\",\r\n\t\t\t\"start_date_registration\": \"2024-02-20T17:12:04-03:00\",\r\n\t\t\t\"end_date_registration\": \"2024-06-20T17:12:04-03:00\",\r\n\t\t\t\"participants_limit\": 10,\r\n\t\t\t\"created_at\": \"2024-04-09T14:21:26.809354-03:00\",\r\n\t\t\t\"updated_at\": \"2024-04-09T14:21:26.809354-03:00\",\r\n\t\t\t\"organizer\": {\r\n\t\t\t\t\"id\": 1,\r\n\t\t\t\t\"name\": \"yyyyy\",\r\n\t\t\t\t\"email\": \"yyyyy@mail.com\"\r\n\t\t\t},\r\n\t\t\t\"participants\": null\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 1,\r\n\t\t\t\"name\": \"teste\",\r\n\t\t\t\"aditional_information\": null,\r\n\t\t\t\"start_place\": \"RJ\",\r\n\t\t\t\"start_date\": \"2024-07-20T17:12:04-03:00\",\r\n\t\t\t\"start_date_registration\": \"2024-02-20T17:12:04-03:00\",\r\n\t\t\t\"end_date_registration\": \"2024-06-20T17:12:04-03:00\",\r\n\t\t\t\"participants_limit\": 10,\r\n\t\t\t\"created_at\": \"2024-04-03T17:10:51.105399-03:00\",\r\n\t\t\t\"updated_at\": \"2024-04-03T17:10:51.105399-03:00\",\r\n\t\t\t\"organizer\": {\r\n\t\t\t\t\"id\": 1,\r\n\t\t\t\t\"name\": \"yyyyy\",\r\n\t\t\t\t\"email\": \"yyyyy@mail.com\"\r\n\t\t\t},\r\n\t\t\t\"participants\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": 4,\r\n\t\t\t\t\t\"name\": \"ddddd\",\r\n\t\t\t\t\t\"email\": \"ddddd@mail.com\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}"}],"_postman_id":"709f33ac-749a-4782-b0cd-e0b9a1c6fede"},{"name":"Get bike event","id":"58351622-0caa-4d95-b7e5-15e329c15e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/bike-event/{id}","urlObject":{"protocol":"http","port":"3000","path":["api","v1","bike-event","{id}"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"e4bffd39-e056-4e48-9394-1e154d3580ab","name":"200","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/bike-event/{id}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n\t\"id\": 1,\r\n\t\"name\": \"teste\",\r\n\t\"aditional_information\": null,\r\n\t\"start_place\": \"RJ\",\r\n\t\"start_date\": \"2024-07-20T17:12:04-03:00\",\r\n\t\"start_date_registration\": \"2024-02-20T17:12:04-03:00\",\r\n\t\"end_date_registration\": \"2024-06-20T17:12:04-03:00\",\r\n\t\"participants_limit\": 10,\r\n\t\"created_at\": \"2024-04-03T17:10:51.105399-03:00\",\r\n\t\"updated_at\": \"2024-04-03T17:10:51.105399-03:00\",\r\n\t\"organizer\": {\r\n\t\t\"id\": 1,\r\n\t\t\"name\": \"yyyyy\",\r\n\t\t\"email\": \"yyyyy@mail.com\"\r\n\t},\r\n\t\"participants\": [\r\n\t\t{\r\n\t\t\t\"id\": 2,\r\n\t\t\t\"name\": \"aaaaa\",\r\n\t\t\t\"email\": \"aaaaa@mail.com\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 3,\r\n\t\t\t\"name\": \"ccccc\",\r\n\t\t\t\"email\": \"ccccc@mail.com\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 4,\r\n\t\t\t\"name\": \"ddddd\",\r\n\t\t\t\"email\": \"ddddd@mail.com\"\r\n\t\t}\r\n\t]\r\n}"}],"_postman_id":"58351622-0caa-4d95-b7e5-15e329c15e95"}],"id":"3a46ba1f-8614-463b-821c-554b7f8ee5b0","_postman_id":"3a46ba1f-8614-463b-821c-554b7f8ee5b0","description":""},{"name":"User Subscription","item":[{"name":"New user subscription","id":"82dfd37d-793b-4558-9836-35c0a2d73bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"bike_event_id","value":"int","type":"text"},{"key":"user_id","value":"int","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/user-subscription","description":"<p>If your token have <code>admin</code> role, you can add other user in other bike event.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user-subscription"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"b05ec62d-d7f8-4551-b209-4e74a03fb9ac","name":"201","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/api/v1/user-subscription"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"82dfd37d-793b-4558-9836-35c0a2d73bbe"},{"name":"New user subscription Copy","id":"17c30358-a0a1-4736-a278-481e97d4ffe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[{"key":"bike_event_id","value":"int","type":"text"},{"key":"user_id","value":"int","type":"text"}]},"url":"http://127.0.0.1:3000/api/v1/user-subscription","description":"<p>If your token have <code>admin</code> role, you can delete other user from another bike event.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user-subscription"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"d7986ca4-52b9-448c-90b2-aa7e11381e74","name":"204","originalRequest":{"method":"DELETE","header":[],"url":"http://127.0.0.1:3000/api/v1/user-subscription"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"17c30358-a0a1-4736-a278-481e97d4ffe4"}],"id":"06b48694-d3bb-4478-9cf5-f77804047689","_postman_id":"06b48694-d3bb-4478-9cf5-f77804047689","description":""}]}