Actions

Set an organization secret's selected repositories

Replaces the repositories a secret with selected visibility reaches; each must belong to the organization. Requires authenticated authority and enforces current resource policy.

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

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

selectedRepositoryIdsRepoId[] required

Response

Response for status 200

Changes

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