Skip to content

Missing private and public metadata on organizationmembership.Create requests #517

@AlvaroParker

Description

@AlvaroParker

Clerk API allows specifying private and public metadata according to the API docs. However, this is not possible in Golang SDK:

https://github.com/clerk/clerk-sdk-go/blob/v2/organizationmembership/client.go#L28-L33

type CreateParams struct {
	clerk.APIParams
	UserID         *string `json:"user_id,omitempty"`
	Role           *string `json:"role,omitempty"`
	OrganizationID string  `json:"-"`
}

Golang SDK is also missing the metadata endpoint to merge and update organization membership metadata​ specified in the docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions