Optimize database for a project

Optimizes the database for a specific project. At least one optimization option must be enabled.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Project ID

Body Params
boolean
Defaults to false

Whether to clean auto drafts

boolean
Defaults to false

Whether to clean expired transients

boolean
Defaults to false

Whether to clean post revisions

boolean
Defaults to false

Whether to clean spam comments

boolean
Defaults to false

Whether to optimize database tables

boolean
Defaults to false

Whether to clean trashed comments

boolean
Defaults to false

Whether to clean trashed posts

boolean
Defaults to false

Clear cache after optimization

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json