foreach( $endpoints as $endpoint ) {

                // Add yes/no options to remove the endpoint.
                $name = 'remove-endpoint|/' . $namespace . '/' . $endpoint;
                add_settings_field( $name, sprintf( __( '%s', 'rest-api-toolbox' ), $endpoint),