Leapcure users API
The users API from Leapcure — 6 operation(s) for users.
The users API from Leapcure — 6 operation(s) for users.
openapi: 3.1.0
info:
title: Leapcure Blog Content API (WordPress REST API) categories users API
version: wp/v2
description: Public content API for the Leapcure blog (blog.leapcure.com), served by the WordPress REST API `wp/v2` namespace. Read operations on posts, pages, categories, tags, users, media, comments, search, taxonomies, types and statuses were verified to respond anonymously on 2026-07-19; write operations require authentication via WordPress application passwords. This document was derived by the API Evangelist enrichment pipeline from the route metadata the server itself publishes at https://blog.leapcure.com/wp-json/wp/v2 — no operations, parameters or schemas were invented.
contact:
name: Leapcure
email: info@leapcure.com
url: https://leapcure.com/
servers:
- url: https://blog.leapcure.com/wp-json
description: Leapcure blog WordPress REST API
security: []
tags:
- name: users
paths:
/wp/v2/users:
get:
operationId: listWpV2Users
summary: GET /wp/v2/users
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: context
in: query
required: false
description: Scope under which the request is made; determines fields present in response.
schema:
type: string
enum:
- view
- embed
- edit
default: view
- name: page
in: query
required: false
description: Current page of the collection.
schema:
type: integer
default: 1
- name: per_page
in: query
required: false
description: Maximum number of items to be returned in result set.
schema:
type: integer
default: 10
- name: search
in: query
required: false
description: Limit results to those matching a string.
schema:
type: string
- name: exclude
in: query
required: false
description: Ensure result set excludes specific IDs.
schema:
type: array
default: []
items:
type: integer
- name: include
in: query
required: false
description: Limit result set to specific IDs.
schema:
type: array
default: []
items:
type: integer
- name: offset
in: query
required: false
description: Offset the result set by a specific number of items.
schema:
type: integer
- name: order
in: query
required: false
description: Order sort attribute ascending or descending.
schema:
type: string
enum:
- asc
- desc
default: asc
- name: orderby
in: query
required: false
description: Sort collection by user attribute.
schema:
type: string
enum:
- id
- include
- name
- registered_date
- slug
- include_slugs
- email
- url
default: name
- name: slug
in: query
required: false
description: Limit result set to users with one or more specific slugs.
schema:
type: array
items:
type: string
- name: roles
in: query
required: false
description: Limit result set to users matching at least one specific role provided. Accepts csv list or single role.
schema:
type: array
items:
type: string
- name: capabilities
in: query
required: false
description: Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.
schema:
type: array
items:
type: string
- name: who
in: query
required: false
description: Limit result set to users who are considered authors.
schema:
type: string
enum:
- authors
- name: has_published_posts
in: query
required: false
description: Limit result set to users who have published posts.
schema:
type: boolean
items:
type: string
enum:
post: post
page: page
attachment: attachment
nav_menu_item: nav_menu_item
wp_block: wp_block
wp_template: wp_template
wp_template_part: wp_template_part
wp_global_styles: wp_global_styles
wp_navigation: wp_navigation
wp_font_family: wp_font_family
wp_font_face: wp_font_face
jp_search_overlay: jp_search_overlay
feedback: feedback
jetpack_form: jetpack_form
wp_guideline: wp_guideline
jp_act_log_event: jp_act_log_event
jp_pay_order: jp_pay_order
jp_pay_product: jp_pay_product
rank_math_schema: rank_math_schema
- name: search_columns
in: query
required: false
description: Array of column names to be searched.
schema:
type: array
default: []
items:
type: string
enum:
- email
- name
- id
- username
- slug
post:
operationId: createWpV2Users
summary: POST /wp/v2/users
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
username:
type: string
description: Login name for the user.
name:
type: string
description: Display name for the user.
first_name:
type: string
description: First name for the user.
last_name:
type: string
description: Last name for the user.
email:
type: string
format: email
description: The email address for the user.
url:
type: string
format: uri
description: URL of the user.
description:
type: string
description: Description of the user.
locale:
type: string
enum:
- ''
- en_US
description: Locale for the user.
nickname:
type: string
description: The nickname for the user.
slug:
type: string
description: An alphanumeric identifier for the user.
roles:
type: array
items:
type: string
description: Roles assigned to the user.
password:
type: string
description: Password for the user (never included).
meta:
type: object
description: Meta fields.
required:
- username
- email
- password
security:
- applicationPassword: []
/wp/v2/users/{id}:
get:
operationId: getWpV2UsersById
summary: GET /wp/v2/users/{id}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: path
required: true
schema:
type: integer
- name: context
in: query
required: false
description: Scope under which the request is made; determines fields present in response.
schema:
type: string
enum:
- view
- embed
- edit
default: view
post:
operationId: createWpV2UsersById
summary: POST /wp/v2/users/{id}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: path
required: true
schema:
type: integer
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
username:
type: string
description: Login name for the user.
name:
type: string
description: Display name for the user.
first_name:
type: string
description: First name for the user.
last_name:
type: string
description: Last name for the user.
email:
type: string
format: email
description: The email address for the user.
url:
type: string
format: uri
description: URL of the user.
description:
type: string
description: Description of the user.
locale:
type: string
enum:
- ''
- en_US
description: Locale for the user.
nickname:
type: string
description: The nickname for the user.
slug:
type: string
description: An alphanumeric identifier for the user.
roles:
type: array
items:
type: string
description: Roles assigned to the user.
password:
type: string
description: Password for the user (never included).
meta:
type: object
description: Meta fields.
security:
- applicationPassword: []
put:
operationId: replaceWpV2UsersById
summary: PUT /wp/v2/users/{id}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: path
required: true
schema:
type: integer
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
username:
type: string
description: Login name for the user.
name:
type: string
description: Display name for the user.
first_name:
type: string
description: First name for the user.
last_name:
type: string
description: Last name for the user.
email:
type: string
format: email
description: The email address for the user.
url:
type: string
format: uri
description: URL of the user.
description:
type: string
description: Description of the user.
locale:
type: string
enum:
- ''
- en_US
description: Locale for the user.
nickname:
type: string
description: The nickname for the user.
slug:
type: string
description: An alphanumeric identifier for the user.
roles:
type: array
items:
type: string
description: Roles assigned to the user.
password:
type: string
description: Password for the user (never included).
meta:
type: object
description: Meta fields.
security:
- applicationPassword: []
patch:
operationId: updateWpV2UsersById
summary: PATCH /wp/v2/users/{id}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: path
required: true
schema:
type: integer
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
username:
type: string
description: Login name for the user.
name:
type: string
description: Display name for the user.
first_name:
type: string
description: First name for the user.
last_name:
type: string
description: Last name for the user.
email:
type: string
format: email
description: The email address for the user.
url:
type: string
format: uri
description: URL of the user.
description:
type: string
description: Description of the user.
locale:
type: string
enum:
- ''
- en_US
description: Locale for the user.
nickname:
type: string
description: The nickname for the user.
slug:
type: string
description: An alphanumeric identifier for the user.
roles:
type: array
items:
type: string
description: Roles assigned to the user.
password:
type: string
description: Password for the user (never included).
meta:
type: object
description: Meta fields.
security:
- applicationPassword: []
delete:
operationId: deleteWpV2UsersById
summary: DELETE /wp/v2/users/{id}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: path
required: true
schema:
type: integer
- name: force
in: query
required: false
description: Required to be true, as users do not support trashing.
schema:
type: boolean
default: false
- name: reassign
in: query
required: true
description: Reassign the deleted user's posts and links to this user ID.
schema:
type: integer
security:
- applicationPassword: []
/wp/v2/users/{user_id}/application-passwords:
get:
operationId: getWpV2UsersByUser_idApplicationPasswords
summary: GET /wp/v2/users/{user_id}/application-passwords
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: user_id
in: path
required: true
schema:
type: string
- name: context
in: query
required: false
description: Scope under which the request is made; determines fields present in response.
schema:
type: string
enum:
- view
- embed
- edit
default: view
post:
operationId: createWpV2UsersByUser_idApplicationPasswords
summary: POST /wp/v2/users/{user_id}/application-passwords
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: user_id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
app_id:
type: string
description: 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:
type: string
description: The name of the application password.
required:
- name
security:
- applicationPassword: []
delete:
operationId: deleteWpV2UsersByUser_idApplicationPasswords
summary: DELETE /wp/v2/users/{user_id}/application-passwords
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: user_id
in: path
required: true
schema:
type: string
security:
- applicationPassword: []
/wp/v2/users/{user_id}/application-passwords/{uuid}:
get:
operationId: getWpV2UsersByUser_idApplicationPasswordsByUuid
summary: GET /wp/v2/users/{user_id}/application-passwords/{uuid}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: user_id
in: path
required: true
schema:
type: string
- name: uuid
in: path
required: true
schema:
type: string
- name: context
in: query
required: false
description: Scope under which the request is made; determines fields present in response.
schema:
type: string
enum:
- view
- embed
- edit
default: view
post:
operationId: createWpV2UsersByUser_idApplicationPasswordsByUuid
summary: POST /wp/v2/users/{user_id}/application-passwords/{uuid}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: user_id
in: path
required: true
schema:
type: string
- name: uuid
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
app_id:
type: string
description: 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:
type: string
description: The name of the application password.
security:
- applicationPassword: []
put:
operationId: replaceWpV2UsersByUser_idApplicationPasswordsByUuid
summary: PUT /wp/v2/users/{user_id}/application-passwords/{uuid}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: user_id
in: path
required: true
schema:
type: string
- name: uuid
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
app_id:
type: string
description: 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:
type: string
description: The name of the application password.
security:
- applicationPassword: []
patch:
operationId: updateWpV2UsersByUser_idApplicationPasswordsByUuid
summary: PATCH /wp/v2/users/{user_id}/application-passwords/{uuid}
tags:
- users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: user_id
in: path
required: true
schema:
type: string
- name: uuid
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
app_id:
type: string
description: 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:
type: string
description: The name of the application password.
security:
- applicationPassword: []
delete:
operationId: deleteWpV2UsersByUser_idApplicationPasswor
# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/leapcure/refs/heads/main/openapi/leapcure-users-api-openapi.yml