github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/organization_job_templates/update.yaml (about) 1 --- 2 summary: Update an organization job template 3 description: Update an existing organization job template. 4 operationId: organization_job_template/update 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 '200': 13 description: OK 14 content: 15 application/json: 16 schema: 17 "$ref": "../../schemas/organization_job_template_details.yaml#/organization_job_template_details" 18 headers: 19 X-Rate-Limit-Limit: 20 "$ref": "../../headers.yaml#/X-Rate-Limit-Limit" 21 X-Rate-Limit-Remaining: 22 "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining" 23 X-Rate-Limit-Reset: 24 "$ref": "../../headers.yaml#/X-Rate-Limit-Reset" 25 '400': 26 "$ref": "../../responses.yaml#/400" 27 '404': 28 "$ref": "../../responses.yaml#/404" 29 '429': 30 "$ref": "../../responses.yaml#/429" 31 x-code-samples: 32 - lang: Curl 33 source: |- 34 curl "https://api.phrase.com/v2/accounts/:account_id/job_templates/:id" \ 35 -u USERNAME_OR_ACCESS_TOKEN \ 36 -X PATCH \ 37 -H 'Content-Type: application/json' 38 - lang: CLI v2 39 source: |- 40 phrase organization_job_templates update \ 41 --account_id <account_id> \ 42 --id <id> \ 43 --access_token <token> 44 requestBody: 45 required: true 46 content: 47 application/json: 48 schema: 49 type: object 50 title: organization_job_template/update/parameters 51 properties: 52 name: 53 description: Job template name 54 type: string 55 example: template 56 briefing: 57 description: Briefing for the translators 58 type: string 59 example: text 60 required: 61 - name 62 x-cli-version: "2.7.0"