# 300 Unsupported Content Type

**URL:** <https://devforum.zoom.us/t/300-unsupported-content-type/137550>\
**Category:** Users and Groups\
**Created:** [September 22, 2025, 12:59pm UTC](https://devforum.zoom.us/t/300-unsupported-content-type/137550 "2025-09-22T12:59:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon10](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/simon10/32/71324_2.png) [@Simon10](https://devforum.zoom.us/u/Simon10)\
**Post date:** [September 22, 2025, 12:59pm UTC](https://devforum.zoom.us/t/300-unsupported-content-type/137550/1 "2025-09-22T12:59:29Z")

</div>

### I am trying to complete a bulk update of users with assistants. I have tried using psZoom but it soes not include the options needed.

I have been trying to set the can\_manage\_host\_private\_event variable against each assistant added

this is the code I have put together

foreach($list in $lists){

$Uri = ‘[https://api.zoom.us/v2/users/‘+$list.user+’/assistants’](https://api.zoom.us/v2/users/%E2%80%98+$list.user+%E2%80%99/assistants%E2%80%99)

$Body = @{   
email= $list.Asistants  
can\_manage\_host\_private\_event = true  
}

$output = Invoke-RestMethod -Uri $uri -Headers $auth -Body $Body -Method POST -UseBasicParsing  
}

The auth works, I have a function set up for that that i use in other scripts.

no matter what i have tried i get the following

Line |  
26 | $output = Invoke-RestMethod -Uri $uri -Headers $auth -Body $Body -Met …  
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
| `300` Unsupported Content Type

All suggestions would be gratefully received

---

<div class="post-metadata">

**Author:** ![Simon10](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/simon10/32/71324_2.png) [@Simon10](https://devforum.zoom.us/u/Simon10)\
**Post date:** [September 22, 2025, 1:52pm UTC](https://devforum.zoom.us/t/300-unsupported-content-type/137550/2 "2025-09-22T13:52:27Z")

</div>

managed to fix the issue. i had miss set the headers. Now just need to find why it reports good, but does nothing
