@@ -146,7 +146,7 @@ type ListSSHKeysRequest struct {
146146 ProjectID * string `json:"-"`
147147}
148148
149- // ListSSHKeys: list all SSH keys of your organization
149+ // ListSSHKeys: list all SSH keys of your project
150150func (s * API ) ListSSHKeys (req * ListSSHKeysRequest , opts ... scw.RequestOption ) (* ListSSHKeysResponse , error ) {
151151 var err error
152152
@@ -203,17 +203,15 @@ type CreateSSHKeyRequest struct {
203203 Name string `json:"name"`
204204 // PublicKey: SSH public key. Currently ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa keys with NIST curves are supported
205205 PublicKey string `json:"public_key"`
206- // OrganizationID: organization owning the resource
206+ // OrganizationID: use project_id field instead
207207 // Precisely one of OrganizationID, ProjectID must be set.
208208 OrganizationID * string `json:"organization_id,omitempty"`
209209 // ProjectID: project owning the resource
210210 // Precisely one of OrganizationID, ProjectID must be set.
211211 ProjectID * string `json:"project_id,omitempty"`
212212}
213213
214- // CreateSSHKey: add a SSH key to your organization
215- //
216- // Add a SSH key to your organization.
214+ // CreateSSHKey: add an SSH key to your project
217215func (s * API ) CreateSSHKey (req * CreateSSHKeyRequest , opts ... scw.RequestOption ) (* SSHKey , error ) {
218216 var err error
219217
@@ -252,9 +250,7 @@ type GetSSHKeyRequest struct {
252250 SSHKeyID string `json:"-"`
253251}
254252
255- // GetSSHKey: get a SSH key from your organization
256- //
257- // Get a SSH key from your organization.
253+ // GetSSHKey: get an SSH key from your project
258254func (s * API ) GetSSHKey (req * GetSSHKeyRequest , opts ... scw.RequestOption ) (* SSHKey , error ) {
259255 var err error
260256
@@ -283,9 +279,7 @@ type UpdateSSHKeyRequest struct {
283279 Name * string `json:"name"`
284280}
285281
286- // UpdateSSHKey: update a SSH key on your organization
287- //
288- // Update a SSH key on your organization.
282+ // UpdateSSHKey: update an SSH key on your project
289283func (s * API ) UpdateSSHKey (req * UpdateSSHKeyRequest , opts ... scw.RequestOption ) (* SSHKey , error ) {
290284 var err error
291285
@@ -317,9 +311,7 @@ type DeleteSSHKeyRequest struct {
317311 SSHKeyID string `json:"-"`
318312}
319313
320- // DeleteSSHKey: remove a SSH key from your organization
321- //
322- // Remove a SSH key from your organization.
314+ // DeleteSSHKey: remove an SSH key from your project
323315func (s * API ) DeleteSSHKey (req * DeleteSSHKeyRequest , opts ... scw.RequestOption ) error {
324316 var err error
325317
0 commit comments