Application Passwords
Edit
Topics
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: |
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: |
name string |
The name of the application password.
Context: |
password string |
The generated password. Only available after adding an application.
Read only Context: |
created string, datetime (details) |
The GMT date the application password was created.
Read only Context: |
last_used string or null, datetime (details) |
The GMT date the application password was last used.
Read only Context: |
last_ip string or null, ip |
The IP address the application password was last used by.
Read only Context: |
Retrieve a Application Password
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
Create a Application Password
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 |
Definition
POST /wp/v2/users/<user_id>)/application-passwords
Delete a Application Password
There are no arguments for this endpoint.
Definition
DELETE /wp/v2/users/<user_id>)/application-passwords
Example Request
$ curl -X DELETE https://example.com/wp-json/wp/v2/users/<user_id>)/application-passwords
Retrieve a Application Password
Definition & Example Request
GET /wp/v2/users/<user_id>)/application-passwords/introspect
Query this endpoint to retrieve a specific application password record.
$ curl https://example.com/wp-json/wp/v2/users/<user_id>)/application-passwords/introspect
Retrieve a Application Password
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>
Update a Application Password
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. |
Delete a Application Password
There are no arguments for this endpoint.
Definition
DELETE /wp/v2/users/<user_id>)/application-passwords/<uuid>
Example Request
$ curl -X DELETE https://example.com/wp-json/wp/v2/users/<user_id>)/application-passwords/<uuid>