Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not delete notification_email #695

Open
mkiosugadaikichi opened this issue Sep 3, 2020 · 2 comments
Open

can not delete notification_email #695

mkiosugadaikichi opened this issue Sep 3, 2020 · 2 comments

Comments

@mkiosugadaikichi
Copy link

If you want to delete notification_email,
you must send JSON { "email" : null }
so NullValueHandling.Include is needed.

public class BoxNotificationEmailField
{
    public const string email = "email";

    [JsonProperty(PropertyName = email, NullValueHandling = NullValueHandling.Include)]
    public string Email { get; set; }
}

In current code, null is ignored API returns BadRequest error.

@sujaygarlanka
Copy link
Contributor

@mkiosugadaikichi Thank you for the feedback! We will take a look at this.

@stale
Copy link

stale bot commented Dec 19, 2022

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

@stale stale bot added the stale label Dec 19, 2022
@mwwoda mwwoda added dontstale and removed stale labels Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants