How can i modify in authorization for Apis?

i try to add new end point and when i change the url for end point it give unauthorized alse many apis such as fhir/Appointment return unauthorized i need to test it and modify in authorization to match my needs

@MahaMH you can find all api into src/RestControllers directory and also you can take look and _rest_config.php file from root direcvtory