fix: do not require remoteOrgID for remote connection creation (#451)

This commit is contained in:
Dane Strandboge
2022-10-28 11:16:53 -05:00
committed by GitHub
parent 121864a550
commit 3285a03e9e
52 changed files with 2942 additions and 587 deletions

View File

@ -20,13 +20,13 @@ type LegacyAuthorizationPostRequest struct {
Status *string `json:"status,omitempty" yaml:"status,omitempty"`
// A description of the token.
Description *string `json:"description,omitempty" yaml:"description,omitempty"`
// ID of org that authorization is scoped to.
// The ID of the organization that the authorization is scoped to.
OrgID string `json:"orgID" yaml:"orgID"`
// ID of user that authorization is scoped to.
// The ID of the user that the authorization is scoped to.
UserID *string `json:"userID,omitempty" yaml:"userID,omitempty"`
// Token (name) of the authorization
// A name that you provide for the authorization.
Token *string `json:"token,omitempty" yaml:"token,omitempty"`
// List of permissions for an auth. An auth must have at least one Permission.
// A list of permissions that provide `read` and `write` access to organization resources. An authorization must contain at least one permission.
Permissions []Permission `json:"permissions" yaml:"permissions"`
}