cURL
curl --request PATCH \ --url https://sandbox.deck.co/api/v1/jobs/{jobCode} \ --header 'Content-Type: application/json' \ --header 'x-deck-client-id: <api-key>' \ --header 'x-deck-secret: <api-key>' \ --data ' { "name": "<string>", "code": "<string>", "input_schema": "<unknown>", "output_schema": "<unknown>", "prompts": null } '
{ "name": "<string>", "job_code": "<string>", "input_schema": "<unknown>", "output_schema": "<unknown>", "prompts": null, "created_at": 123, "updated_at": 123 }
Update an existing job from the Deck API. Jobs can also be updated in the Dashboard.
Enter your client id
Enter your secret
Job code to update
Updated job definition details including schemas
Job definition updated successfully
Was this page helpful?