---
title: "Set the customization template for an OIDC subject claim for an organization"
method: PUT
path: "/orgs/{org}/actions/oidc/customization/sub"
tags: ["oidc"]
---

# Set the customization template for an OIDC subject claim for an organization

`PUT /orgs/{org}/actions/oidc/customization/sub`

Creates or updates the customization template for an OpenID Connect (OIDC) subject claim.

OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.

## Path parameters

- `org` string, required

## Request body

- OidcCustomSub — Actions OIDC Subject customization
  - `include_claim_keys` string[], required — Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.

## Response `201`

Empty response

- EmptyObject — An object without any properties.

## Other responses

- `403` — Forbidden
- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-7.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-7/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-7/versions/5438365412fe/schema)
