members

Send a member a password-reset email.

Creates a WorkOS password reset for the target member and emails the reset URL to the member — never to the calling admin, and never in this response. dvt stores no passwords (WorkOS owns the credential), so this is a thin relay: mint the reset through the identity provider, then deliver it by email. Admin or owner only.

Guards: you cannot send yourself a reset (use "Forgot password?" on the sign-in page instead); resetting an owner's password is owner-only; a member who has never signed in has no identity-provider account to reset (409); sending is limited to one reset per member per minute (429).

post/v1/orgs/{orgId}/members/{userId}/password-reset

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/v1/orgs/{orgId}/members/{userId}/password-reset
  • Auth: one of:
    • API key in cookie dvt_session
    • HTTP bearer

Response

Password-reset email accepted for delivery. The reset URL is never returned here.

Example response

{
  "data": {
    "status": "reset_sent"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.