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

     1  ---
     2  summary: Delete an organization job template locale
     3  description: Delete an existing organization job template locale.
     4  operationId: organization_job_template_locale/delete
     5  tags:
     6  - Organization Job Template Locales
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/account_id"
    10  - "$ref": "../../parameters.yaml#/job_template_id"
    11  - "$ref": "../../parameters.yaml#/job_template_locale_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/job_templates/:job_template_id/locales/:job_template_locale_id" \
    25        -u USERNAME_OR_ACCESS_TOKEN \
    26        -X DELETE \
    27        -H 'Content-Type: application/json'
    28  - lang: CLI v2
    29    source: |-
    30      phrase organization_job_template_locales delete \
    31      --account_id <account_id> \
    32      --job_template_id <job_template_id> \
    33      --job_template_locale_id <job_template_locale_id> \
    34      --access_token <token>
    35  x-cli-version: "2.7.0"