{ "opencollection": "1.0.0", "info": { "name": "Vantage AccessGrants Teams API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Teams", "type": "folder" }, "items": [ { "info": { "name": "Get all teams", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/teams", "params": [ { "name": "page", "value": "", "type": "query", "description": "The page of results to return." }, { "name": "limit", "value": "", "type": "query", "description": "The amount of results to return. The maximum is 1000." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Return all Teams that the current API token has access to." }, { "info": { "name": "Create team", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/teams", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new Team." }, { "info": { "name": "Get team by token", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/teams/:team_token", "params": [ { "name": "team_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Return a specific Team." }, { "info": { "name": "Update team", "type": "http" }, "http": { "method": "PUT", "url": "https://api.vantage.sh/v2/teams/:team_token", "params": [ { "name": "team_token", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a Team." }, { "info": { "name": "Delete team", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/teams/:team_token", "params": [ { "name": "team_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a Team." }, { "info": { "name": "Get team members", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/teams/:team_token/members", "params": [ { "name": "team_token", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query", "description": "The page of results to return." }, { "name": "limit", "value": "", "type": "query", "description": "The amount of results to return. The maximum is 1000." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Return all members of a Team." }, { "info": { "name": "Add team member", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/teams/:team_token/members", "params": [ { "name": "team_token", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Add a member to a Team." }, { "info": { "name": "Remove team member", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/teams/:team_token/members/:user_token", "params": [ { "name": "team_token", "value": "", "type": "path" }, { "name": "user_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Remove a member from a Team." } ] } ], "bundled": true }