Actions

Create or update an organization Actions secret

Encrypts and stores the value (at most 48 KiB) with its visibility. Names are case-insensitive and stored upper-cased: letters, digits and underscores, not starting with a digit or GITHUB_. Omitting visibility keeps the existing one's visibility and repositories (private for a new name). With visibility selected, omitting selectedRepositoryIds keeps the current list. Requires authenticated authority and enforces current resource policy.

put/api/orgs/{slug}/actions/secrets/{name}

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required
namestring required

Request body

valuestring required
visibility'all' | 'private' | 'selected'
selectedRepositoryIdsRepoId[]

Response

Response for status 200

namestring required
createdAtstring date-time required
updatedAtstring date-time required
visibility'all' | 'private' | 'selected' required
selectedRepositoryCountinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.