Skip to content

Commit 09ae874

Browse files
Commit via running ake Sources/codespaces
1 parent 9122376 commit 09ae874

File tree

2 files changed

+191
-165
lines changed

2 files changed

+191
-165
lines changed

Sources/codespaces/Client.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3208,7 +3208,7 @@ public struct Client: APIProtocol {
32083208
/// Creates or updates a repository development environment secret with an encrypted value. Encrypt your secret using
32093209
/// [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
32103210
///
3211-
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
3211+
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The associated user must be a repository admin.
32123212
///
32133213
/// - Remark: HTTP `PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}`.
32143214
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/codespaces/secrets/{secret_name}/put(codespaces/create-or-update-repo-secret)`.
@@ -3287,7 +3287,7 @@ public struct Client: APIProtocol {
32873287
///
32883288
/// Deletes a development environment secret in a repository using the secret name.
32893289
///
3290-
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
3290+
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The associated user must be a repository admin.
32913291
///
32923292
/// - Remark: HTTP `DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}`.
32933293
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/codespaces/secrets/{secret_name}/delete(codespaces/delete-repo-secret)`.

0 commit comments

Comments
 (0)