Hey folks :wave: I was wondering is it possible to...
# pactflow
j
Hey folks 👋 I was wondering is it possible to disable a Pactflow user via the API?
p
Hi, looking at he API documentation, I see this route that allows to update the
active
field... never tried but it seems that could be useful for your need.
j
Awesome thanks for that Paolo 😄 I’ll give that a try!
Yeah that did it 😄 thank you! Nice simple PUT request does the job
m
Yep that should work. Just note, that it will only work for accounts that allow disabling users (not entirely clear from our docs which these are). Any accounts created after ~Nov 2024 won’t be able to disable a user. But you can delete a user (I know you don’t want this, but just in case somebody else sees it)
j
Awesome thanks for the clarification Matt 😄