WordPress at a glance
filter is not described

rest_pre_insert_(taxonomy) filter-hook . WP 4.7.0

Filters term data before inserting term via the REST API.

The dynamic portion of the hook name, $this->taxonomy, refers to the taxonomy slug.

Usage

add_filter( 'rest_pre_insert_(taxonomy)', 'filter_function_name_6558', 10, 2 );
function filter_function_name_6558( $prepared_term, $request ){
	// filter...

	return $prepared_term;
}
$prepared_term(object)
Term object.
$request(WP_REST_Request)
Request object.

Where the hook is called

WP_REST_Terms_Controller::prepare_item_for_database()
wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php 690
return apply_filters( "rest_pre_insert_{$this->taxonomy}", $prepared_term, $request );

Where the hook is used (in WP core)

Does not used.