actionsSetCustomOidcSubClaimForRepo
Set the customization template for an OIDC subject claim for a repository
PUT /repos/{owner}/{repo}/actions/oidc/customization/sub HTTP/1.1Parameters
{
"owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"repo": {
"description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
"required": true,
"location": "path",
"type": "string"
},
"use_default": {
"description": "Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored.",
"required": true,
"location": "body",
"type": "boolean"
},
"include_claim_keys": {
"description": "Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.",
"required": false,
"location": "body",
"type": "array"
}
}Response Schema
{
"title": "Empty Object",
"description": "An object without any properties.",
"type": "object",
"properties": {},
"additionalProperties": false
}