kinde-oss / management-api-js

javascript package for interacting with the Kinde Management API
https://www.kinde.com
MIT License
4 stars 3 forks source link

Bug: Can't remove all permissions from a user in an Organization #16

Open sje397 opened 3 months ago

sje397 commented 3 months ago

Prerequisites

Describe the issue

Using Organizations.updateOrganizationUsers, attempting to remove all permissions by sending an empty array in the permissions field does not work and leaves the user's permissions unchanged (and does not return an error).

Library URL

https://github.com/kinde-oss/management-api-js

Library version

0.7.1

Operating system(s)

macOS

Operating system version(s)

n/a

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

DanielRivers commented 3 months ago

Thank you for raising, I will get this checked out.

DanielRivers commented 3 months ago

I have assigned this to be looked into by one of our API engineers as we believe this could be an issue at API level not SDK.

sje397 commented 3 months ago

great, thank you @DanielRivers