Prisma

Create invite code

Create invitation code for user to set their password. Uses password_reset endpoint which works for users created via V2 API. The returned code can be used to set/reset the user's password.

POST
/api/v1/admin/users/{user_id}/invite

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

Canonical user UUID

Formatuuid

Response Body

application/json

application/json

curl -X post "http://localhost:8000/api/v1/admin/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/invite"
{
  "property1": "string",
  "property2": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}