func (m *MembershipsClient) Delete(ctx context.Context, membership *identity.ID) error {
	req, _, err := m.client.NewRequest("DELETE", "/memberships/"+membership.String(), nil, nil, true)
	if err != nil {
		return err
	}

	_, err = m.client.Do(ctx, req, nil, nil, nil)
	if err != nil {
		return err
	}

	return nil
}
// Delete requests deletion of a specific membership row by ID
Delete requests deletion of a specific membership row by ID
// Delete requests deletion of a specific membership row by ID
func (m *MembershipsClient) Delete(ctx context.Context, membership *identity.ID) error {
	req, _, err := m.client.NewRequest("DELETE", "/memberships/"+membership.String(), nil, nil, true)
	if err != nil {
		return err
	}
	_, err = m.client.Do(ctx, req, nil, nil, nil)
	if err != nil {
		return err
	}
	return nil
}
func ( m * MembershipsClient ) Delete ( ctx context . Context , membership * identity . ID ) error { req , _ , err := m . client . NewRequest ( " " , " " + membership . String ( ) , nil , nil , true ) if err != nil { return err } _ , err = m . client . Do ( ctx , req , nil , nil , nil ) if err != nil { return err } return nil }
Delete requests deletion of a specific membership row by ID
Delete requests deletion of a specific membership row by ID