github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/teams/remove_project.yaml (about)

     1  ---
     2  summary: Remove Project from Team
     3  description: Removes a specified project from the specified team.
     4  operationId: teams/projects/delete
     5  tags:
     6  - Teams
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/account_id"
    10  - "$ref": "../../parameters.yaml#/team_id"
    11  - "$ref": "../../parameters.yaml#/id"
    12  responses:
    13    '204':
    14      "$ref": "../../responses.yaml#/204"
    15    '400':
    16      "$ref": "../../responses.yaml#/400"
    17    '404':
    18      "$ref": "../../responses.yaml#/404"
    19    '429':
    20      "$ref": "../../responses.yaml#/429"
    21  x-code-samples:
    22  - lang: Curl
    23    source: |-
    24      curl "https://api.phrase.com/v2/accounts/:account_id/teams/:team_id/projects/:id" \
    25        -u USERNAME_OR_ACCESS_TOKEN \
    26        -X DELETE
    27  - lang: CLI v2
    28    source: |-
    29      phrase teams projects_delete \
    30      --account_id <account_id> \
    31      --team_id <team_id> \
    32      --id <id> \
    33      --access_token <token>
    34  x-cli-version: '2.5'