apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /repos/{owner}/{repo}/actions/oidc/customization/sub — GitHub API

GitHub playground

Set the customization template for an OIDC subject claim for a repository

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

3 body fields
  • use_default · required · boolean — Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored.
  • include_claim_keys · optional · string[] — Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.
  • use_immutable_subject · optional · boolean — Whether to opt in to the immutable OIDC subject claim format for this repository. When `true`, OIDC tokens will use a stable, repository-ID-based `sub` claim.