---
title: "POST /templeton/v1/pig"
method: POST
path: "/templeton/v1/pig"
tags: ["Job"]
---

# POST /templeton/v1/pig

`POST /templeton/v1/pig`

Submits a Pig job to an HDInsight cluster.

## Query parameters

- `user.name` string, required

## Response `200`

OK response definition.

- JobSubmissionJsonResponse — The job submission json response.
  - `id` string — The Id of the created job.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/hdinsightjobclient.md) · [All operations](https://skmtc.net/azure/apis/hdinsightjobclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/hdinsightjobclient/revisions/3ca9bade5a34/schema)
