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

     1  ---
     2  summary: Delete an organization job template
     3  description: Delete an existing organization job template.
     4  operationId: organization_job_template/delete
     5  tags:
     6  - Organization Job Templates
     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    '404':
    17      "$ref": "../../responses.yaml#/404"
    18    '429':
    19      "$ref": "../../responses.yaml#/429"
    20  x-code-samples:
    21  - lang: Curl
    22    source: |-
    23      curl "https://api.phrase.com/v2/accounts/:account_id/job_templates/:id" \
    24        -u USERNAME_OR_ACCESS_TOKEN \
    25        -X DELETE \
    26        -H 'Content-Type: application/json'
    27  - lang: CLI v2
    28    source: |-
    29      phrase organization_job_templates delete \
    30      --account_id <account_id> \
    31      --id <id> \
    32      --access_token <token>
    33  x-cli-version: "2.7.0"