Prisma

Set user phone

Set user phone number.

PUT
/api/v1/admin/users/{user_id}/phone

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

user_id*User Id

Canonical user UUID

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

phone*Phone

Response Body

application/json

curl -X put "http://localhost:8000/api/v1/admin/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/phone" \  -H "Content-Type: application/json" \  -d '{    "phone": "string"  }'
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}