cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Disable Sharing by members fails in API call

Trying to disable the members sharing option in our site so all requests go through the owners.

When the below is run, I get Status 400, invalid request

DisableSharing.jpg

 

Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

My bad...typo in headers:

HTTP_Method

...should be HTTP-Method

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

My bad...typo in headers:

HTTP_Method

...should be HTTP-Method

v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

Great! It appears that you have found a solution to your issue!

If so, please click "Accept as Solution" on the reply that describes how you were able to solve your issue!

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,215)