---
title: "Creates or updates a Team's Oauth Application Credentials. | (Stable)"
method: PUT
path: "/data-jobs/teams/{team_name}/oauth-credentials"
tags: ["Data Jobs Secrets"]
---

# Creates or updates a Team's Oauth Application Credentials. | (Stable)

`PUT /data-jobs/teams/{team_name}/oauth-credentials`

Creates or updates a Team's Oauth Application Credentials.

## Request body

- OauthCredentials — Oauth credentials
  - `clientId` string, required — Oauth Application Client ID
  - `clientSecret` string, required — Oauth Application Client Secret

## Response `202`

Update accepted successfully.

## Other responses

- `400` — A response for any errors detected
- `404` — A response for any errors detected

## Changes

- **2024-07-16** `a3e1a54068cd` — 1 info
  - endpoint added
- **2021-08-06** `844c60c5b950` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/vmware/apis/versatile-data-kit-control-service-api/changes/data-jobs/teams/:team_name/oauth-credentials/put.md)

---

[API](https://skmtc.dev/vmware/apis/versatile-data-kit-control-service-api.md) · [All operations](https://skmtc.dev/vmware/apis/versatile-data-kit-control-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vmware/versatile-data-kit-control-service-api/revisions/6c58be3b5043/schema)
