github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/accounts/index.yaml (about) 1 --- 2 summary: List accounts 3 description: List all accounts the current user has access to. 4 operationId: accounts/list 5 tags: 6 - Accounts 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/page" 10 - "$ref": "../../parameters.yaml#/per_page" 11 responses: 12 '200': 13 description: OK 14 content: 15 application/json: 16 schema: 17 type: array 18 items: 19 "$ref": "../../schemas/account.yaml#/account" 20 headers: 21 X-Rate-Limit-Limit: 22 "$ref": "../../headers.yaml#/X-Rate-Limit-Limit" 23 X-Rate-Limit-Remaining: 24 "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining" 25 X-Rate-Limit-Reset: 26 "$ref": "../../headers.yaml#/X-Rate-Limit-Reset" 27 Link: 28 "$ref": "../../headers.yaml#/Link" 29 Pagination: 30 "$ref": "../../headers.yaml#/Pagination" 31 '400': 32 "$ref": "../../responses.yaml#/400" 33 '404': 34 "$ref": "../../responses.yaml#/404" 35 '429': 36 "$ref": "../../responses.yaml#/429" 37 x-code-samples: 38 - lang: Curl 39 source: |- 40 curl "https://api.phrase.com/v2/accounts" \ 41 -u USERNAME_OR_ACCESS_TOKEN 42 - lang: CLI v2 43 source: |- 44 phrase accounts list \ 45 --access_token <token> 46 x-cli-version: '2.5'