admin (full access) and editor (content-only access) — and are entirely separate from your public-facing site visitors. This API is designed for initial setup, team management, and automated provisioning workflows. Every endpoint in this section requires a valid Bearer token with admin-level privileges. Requests authenticated with an editor-level token will be rejected with a 403 Forbidden response.
List Users
Returns all admin user accounts. Requires an admin Bearer token.Response
| Field | Type | Description |
|---|---|---|
id | number | Unique user identifier |
username | string | Login username |
role | string | User role — admin (full access) or editor (content access only) |
createdAt | string | ISO 8601 account creation timestamp |
Password hashes are never returned by any Users API response. User credentials are write-only — they can be set on creation or updated, but never read back.
Create User
Creates a new admin user account. Requires an admin Bearer token.Request Body
Login username for the new account. Must be unique across all users — the API will return a
409 Conflict error if the username is already taken.Login password for the new account. A minimum of 8 characters is strongly recommended. Passwords are stored as secure hashes and are never returned in API responses.
Access role for the new account. Accepted values:
admin— full access to all CMS features, settings, and the Users API.editor— can create, edit, and publish articles and manage media, but cannot access user management or system settings.
Response
Returns the created user object. Thepassword field is not included in the response.
Update User
Updates an existing user account. Requires an admin Bearer token. Use this endpoint to change a user’s username, reset their password, or change their role.Path Parameters
The numeric ID of the user to update.
Request Body
Accepts the same fields as Create User. All supplied fields will be updated. Omitpassword if you do not want to change the user’s current password.
Response
Returns the updated user object (password excluded).Delete User
Permanently deletes a user account. Requires an admin Bearer token.Path Parameters
The numeric ID of the user to delete.