as_user_id not working

brian_mullins
Community Participant

Good morning,

I've been working on a process to set notifications to off for new parent-observer accounts, and am using the following URL in a PUT to flip the bits, but get an error

.../api/v1/users/self/communication_channels/109328/notification_preferences/new_announcement?as_user_id=102685&notification_preferences[frequency]=never

The error I get back is "Invalid as_user_id". The user who's token I'm using is a full admin, so they should be able to masquerade. The channel ID and user ID being passed above have been verified.

Other calls to the API that do not use the as_user_id seem to be working fine.

I had this working, I thought, a few weeks back, but can't seem to get it going now. 

Thanks for any help offered.

Brian

Labels (1)