Version 1.0.0
Language EN

Secret Create

Create a new repository secret. Please note this api requires write access to the repository.

POST /api/repos/{owner}/{repo}/secrets

Example Request Body:

{
  "name": "docker_username",
  "data": "octocat",
  "pull_request": false
}

Example Response Body:

{
  "id": 1,
  "repo_id": 42,
  "name": "docker_username",
  "pull_request": false
}

On This Page:

Getting Help

Mailing List
Search for information in the mailing list archives, or post a question.
Chat Support
Real-time chat support from maintainers and community members.