# Memberships

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#Membership">Membership</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipUpdateResponse">MembershipUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipDeleteResponse">MembershipDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipGetResponse">MembershipGetResponse</a>

Methods:

- <code title="put /memberships/{membership_id}">client.Memberships.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, membershipID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipUpdateParams">MembershipUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipUpdateResponse">MembershipUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /memberships">client.Memberships.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipListParams">MembershipListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#Membership">Membership</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /memberships/{membership_id}">client.Memberships.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, membershipID <a href="https://pkg.go.dev/builtin#string">string</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipDeleteResponse">MembershipDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /memberships/{membership_id}">client.Memberships.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, membershipID <a href="https://pkg.go.dev/builtin#string">string</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships">memberships</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/memberships#MembershipGetResponse">MembershipGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
