Application Passwords Edit

Schema Schema

The schema defines all the fields that exist within a application password record. Any response from these endpoints can be expected to contain the fields below unless the `_filter` query parameter is used or the schema field only appears in a specific context.

uuid

string,
uuid
The unique identifier for the application password.

Read only

Context: view, edit, embed

app_id

string,
uuid
A uuid provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.

Context: view, edit, embed

name

string
The name of the application password.

Context: view, edit, embed

password

string
The generated password. Only available after adding an application.

Read only

Context: edit

created

string,
datetime (details)
The GMT date the application password was created.

Read only

Context: view, edit

last_used

string or null,
datetime (details)
The GMT date the application password was last used.

Read only

Context: view, edit

last_ip

string or null,
ip
The IP address the application password was last used by.

Read only

Context: view, edit

Top ↑

Retrieve a Application Password Retrieve a Application Password

Definition & Example Request Definition & Example Request

GET /wp/v2/users/<user_id>)/application-passwords

Query this endpoint to retrieve a specific application password record.

$ curl https://example.com/wp-json/wp/v2/users/<user_id>)/application-passwords

Top ↑

Arguments Arguments

context Scope under which the request is made; determines fields present in response.

Default: view

One of: view, embed, edit

Top ↑

Create a Application Password Create a Application Password

Top ↑

Arguments Arguments

app_id A uuid provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.
name The name of the application password.

Required: 1

Top ↑

Definition Definition

POST /wp/v2/users/<user_id>)/application-passwords

Top ↑

Delete a Application Password Delete a Application Password

There are no arguments for this endpoint.

Top ↑

Definition Definition

DELETE /wp/v2/users/<user_id>)/application-passwords

Top ↑

Example Request Example Request

$ curl -X DELETE https://example.com/wp-json/wp/v2/users/<user_id>)/application-passwords

Top ↑

Retrieve a Application Password Retrieve a Application Password

Top ↑

Definition & Example Request Definition & Example Request

GET /wp/v2/users/<user_id>)/application-passwords/<uuid>

Query this endpoint to retrieve a specific application password record.

$ curl https://example.com/wp-json/wp/v2/users/<user_id>)/application-passwords/<uuid>

Top ↑

Arguments Arguments

context Scope under which the request is made; determines fields present in response.

Default: view

One of: view, embed, edit

Top ↑

Update a Application Password Update a Application Password

Top ↑

Arguments Arguments

app_id A uuid provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.
name The name of the application password.

Top ↑

Definition Definition

POST /wp/v2/users/<user_id>)/application-passwords/<uuid>

Top ↑

Example Request Example Request

Top ↑

Delete a Application Password Delete a Application Password

There are no arguments for this endpoint.

Top ↑

Definition Definition

DELETE /wp/v2/users/<user_id>)/application-passwords/<uuid>

Top ↑

Example Request Example Request

$ curl -X DELETE https://example.com/wp-json/wp/v2/users/<user_id>)/application-passwords/<uuid>