File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -508,8 +508,7 @@ type CreateCredentialRequest struct {
508508 // Name: name of the credentials.
509509 Name string `json:"name"`
510510 // Permissions: permissions associated with these credentials.
511- // Precisely one of Permissions must be set.
512- Permissions * Permissions `json:"permissions,omitempty"`
511+ Permissions * Permissions `json:"permissions"`
513512}
514513
515514// CreateCredential: create credentials.
@@ -651,8 +650,7 @@ type UpdateCredentialRequest struct {
651650 // Name: name of the credentials.
652651 Name * string `json:"name"`
653652 // Permissions: permissions associated with these credentials.
654- // Precisely one of Permissions must be set.
655- Permissions * Permissions `json:"permissions,omitempty"`
653+ Permissions * Permissions `json:"permissions"`
656654}
657655
658656// UpdateCredential: update credentials.
You can’t perform that action at this time.
0 commit comments