D
JWT Authentication for WP REST APIs Content

Disable WP REST APIs

Disable WP REST APIs

What it does

Disable WP REST APIs It is one of the abilities the JWT Authentication for WP REST APIs plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

wp-rest-api-authentication.disable-wp-rest-apis
{
  "ability": "wp-rest-api-authentication.disable-wp-rest-apis",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More JWT Authentication for WP REST APIs abilities

All JWT Authentication for WP REST APIs abilities β†’
E
Enable Selective API protection
JWT Authentication for WP REST APIs
Enable Selective API protection.
R
Restrict non-logged-in users to access REST API endpoints
JWT Authentication for WP REST APIs
Restrict non-logged-in users to access REST API endpoints.
C
Create users in WordPress based on third-party provider
JWT Authentication for WP REST APIs
Create users in WordPress based on third-party provider access tokens (JWT tokens) authentication.