Skip to content

Commit

Permalink
remove unexpected id field in PATCH payload
Browse files Browse the repository at this point in the history
  • Loading branch information
hunts committed Mar 13, 2023
1 parent 4a2a27a commit 548f91d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addressing_address_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type CreateAddressMapParams struct {

// UpdateAddressMapParams contains information about an address map to be updated.
type UpdateAddressMapParams struct {
ID string `json:"id"`
ID string `json:"-"`
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
DefaultSNI *string `json:"default_sni,omitempty"`
Expand Down Expand Up @@ -245,7 +245,7 @@ func (api *API) DeleteIPAddressFromAddressMap(ctx context.Context, rc *ResourceC
return err
}

// AddMembershipToAddressMap adds a zone/account as a member of a particular address map.
// CreateMembershipToAddressMap adds a zone/account as a member of a particular address map.
//
// API reference:
// - account: https://developers.cloudflare.com/api/operations/ip-address-management-address-maps-add-an-account-membership-to-an-address-map
Expand Down

0 comments on commit 548f91d

Please sign in to comment.