WordPress Tutorials
The WordPress API: REST Endpoints, Authentication and Exposure
The REST API is not an optional add-on you can switch off — the block editor and much of the admin depend on it. The real work is choosing an authentication model and deciding what anonymous callers are allowed to read.