Перейти к основному содержимому

List Invitations

GET 

/api/v1/users/invitations

Admin only — list pending invitations.

«Pending» means the invited user has not yet actually used the system. The criterion is users.last_login IS NULL — an admin who has set a password on behalf of the user (PATCH /users/{id}) hasn't accepted anything, so the invitation stays on the list until the user signs in for the first time. This is what powers the «resend invite» UX (#539).

Responses

Successful Response