Backend API
Update phone primary status
cURL
curl --request PATCH \ --url https://api.wacht.dev/users/{user_id}/phones/{phone_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "is_primary": true } '
{ "message": "Resource not found" }
API key authentication (Bearer token)
Phone updated successfully
Was this page helpful?