Title: rest_api_init thread Management
Last modified: March 2, 2023

---

# rest_api_init thread Management

 *  [gnjang](https://wordpress.org/support/users/gnjang/)
 * (@gnjang)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/rest_api_init-thread-management/)
 * hello. I would like to know how to effectively limit and manage multiple theads
   when calling Rest api in WordPress.
   What I want is to restrict meaningless calls
   to api url calls.
 * If it is possible with php, please let me know.
   Please help.

Viewing 1 replies (of 1 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/rest_api_init-thread-management/#post-16549929)
 * You could restrict access to logged in users, then nothing would be publicly 
   accessible. Here is an article that deals with this: [https://wpcerber.com/restrict-access-to-wordpress-rest-api/](https://wpcerber.com/restrict-access-to-wordpress-rest-api/)

Viewing 1 replies (of 1 total)

The topic ‘rest_api_init thread Management’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [thead](https://wordpress.org/support/topic-tag/thead/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/rest_api_init-thread-management/#post-16549929)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
