github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/members/destroy.yaml (about) 1 --- 2 summary: Remove a user from the account 3 description: Remove a user from the account. The user will be removed from the account but not deleted from Phrase. Access token scope must include <code>team.manage</code>. 4 operationId: member/delete 5 tags: 6 - Members 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/account_id" 10 - "$ref": "../../parameters.yaml#/id" 11 responses: 12 '204': 13 "$ref": "../../responses.yaml#/204" 14 '400': 15 "$ref": "../../responses.yaml#/400" 16 '401': 17 "$ref": "../../responses.yaml#/401" 18 '403': 19 "$ref": "../../responses.yaml#/403" 20 '404': 21 "$ref": "../../responses.yaml#/404" 22 '429': 23 "$ref": "../../responses.yaml#/429" 24 x-code-samples: 25 - lang: Curl 26 source: |- 27 curl "https://api.phrase.com/v2/accounts/:account_id/members/:id" \ 28 -u USERNAME_OR_ACCESS_TOKEN \ 29 -X DELETE 30 - lang: CLI v2 31 source: |- 32 phrase members delete \ 33 --account_id <account_id> \ 34 --id <id> \ 35 --access_token <token> 36 x-cli-version: '2.5'