mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
chore: add changeset on suspend (#2430)
This commit is contained in:
parent
ad4d250575
commit
18e3b82e67
1 changed files with 9 additions and 0 deletions
9
.changeset/grumpy-clocks-refuse.md
Normal file
9
.changeset/grumpy-clocks-refuse.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
"@logto/core": minor
|
||||
---
|
||||
|
||||
Add user suspend API endpoint
|
||||
|
||||
Use `PATCH /api/users/:userId/is-suspended` to update a user's suspended state, once a user is suspended, all refresh tokens belong to this user will be revoked.
|
||||
|
||||
Suspended users will get an error toast when trying to sign in.
|
Loading…
Reference in a new issue