{ "opencollection": "1.0.0", "info": { "name": "Kong Enterprise Admin ACLs System Accounts - Team Membership API", "version": "3.14.0" }, "request": { "auth": { "type": "apikey", "key": "Kong-Admin-Token", "value": "{{Kong-Admin-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "System Accounts - Team Membership", "type": "folder" }, "items": [ { "info": { "name": "List Teams for a System Account", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v3/system-accounts/:accountId/teams", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "ID of the system account." }, { "name": "page[size]", "value": "", "type": "query", "description": "The maximum number of items to include per page. The last page of a collection may include fewer items." }, { "name": "page[number]", "value": "", "type": "query", "description": "Determines which page of the entities to retrieve." }, { "name": "filter", "value": "", "type": "query", "description": "Filter teams returned in the response." } ] }, "docs": "Returns a paginated list of a teams that the system account belongs to." }, { "info": { "name": "List System Accounts on a Team", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v3/teams/:teamId/system-accounts", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "ID of the team." }, { "name": "page[size]", "value": "", "type": "query", "description": "The maximum number of items to include per page. The last page of a collection may include fewer items." }, { "name": "page[number]", "value": "", "type": "query", "description": "Determines which page of the entities to retrieve." }, { "name": "filter", "value": "", "type": "query", "description": "Filter system accounts returned in the response." } ] }, "docs": "Returns a paginated list of system accounts that belong to the team specified in the path parameter." }, { "info": { "name": "Add System Account to a Team", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v3/teams/:teamId/system-accounts", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "ID of the team." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a system account to a team. Returns a 409 if the system account is already a member of the team." }, { "info": { "name": "Remove System Account From Team", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{hostname}:{port}{path}/v3/teams/:teamId/system-accounts/:accountId", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "ID of the team." }, { "name": "accountId", "value": "", "type": "path", "description": "ID of the system account." } ] }, "docs": "Removes a system account from a team. Returns 404 if the team or system account were not found." } ] } ], "bundled": true }