// CreateOrUpdateOrgRoleOptions represents options required to create or update a custom organization role.
type CreateOrUpdateOrgRoleOptions struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Permissions []string `json:"permissions"`
BaseRole *string `json:"base_role,omitempty"`
}
It seems like it does not follow documentation, because CreateCustomOrgRole should expect at least name and permissions, and UpdateCustomOrgRole does not demand any of those to be present.
Is it intentional?
Documentation references:
It seems like it does not follow documentation, because
CreateCustomOrgRoleshould expect at leastnameandpermissions, andUpdateCustomOrgRoledoes not demand any of those to be present.Is it intentional?
Documentation references: