Users
API Key Scope: sessions / create
Successful user sign in.
POST /api/v2/users/sign_in HTTP/1.1
Host: localhost
Content-Type: application/json
Accept: */*
Content-Length: 46
{
"user": {
"username": "text",
"password": "text"
}
}Successful user sign in.
{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-11-05T15:50:35.879Z",
"updated_at": "2025-11-05T15:50:35.879Z",
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}API Key Scope: configurations / index
The number of items to display for pagination.
The number of items to skip for pagination.
List of configurations.
GET /api/v2/users/me/configurations HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of configurations.
{
"configurations": [
{
"id": 5,
"key": "global.locale",
"value": "en"
}
],
"count": 1
}API Key Scope: configurations / create
5global.localeenA specific file.
POST /api/v2/users/me/configurations HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"key": "global.locale",
"value": "en"
}A specific file.
{
"id": 5,
"key": "global.locale",
"value": "en"
}API Key Scope: configurations / show
Numeric ID, or key of configuration.
A specific file.
The requested resource was not found. The detailed error will be of type not_found.
GET /api/v2/users/me/configurations/{configuration_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
{
"id": 5,
"key": "global.locale",
"value": "en"
}API Key Scope: configurations / update
Numeric ID, or key of configuration.
5global.localeenA specific file.
PUT /api/v2/users/me/configurations/{configuration_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"key": "global.locale",
"value": "en"
}A specific file.
{
"id": 5,
"key": "global.locale",
"value": "en"
}API Key Scope: configurations / destroy
Numeric ID, or key of configuration.
Configuration destroyed.
No content
DELETE /api/v2/users/me/configurations/{configuration_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Configuration destroyed.
No content
API Key Scope: api_keys / index
The number of items to display for pagination.
The number of items to skip for pagination.
List of API Keys.
GET /api/v2/users/me/api_keys HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of API Keys.
{
"api_keys": [
{
"id": 5,
"key": "******************Iwgo",
"name": "dev-key"
}
],
"count": 1
}API Key Scope: api_keys / create
A specific file.
POST /api/v2/users/me/api_keys HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"name": "dev-key",
"api_key_scopes": [
{
"controller": "text",
"action": "text"
}
]
}A specific file.
{
"id": 5,
"key": "******************Iwgo",
"name": "dev-key",
"api_key_scopes": [
{
"controller": "text",
"action": "text"
}
]
}API Key Scope: api_keys / show
Numeric ID of API Key.
A specific file.
The requested resource was not found. The detailed error will be of type not_found.
GET /api/v2/users/me/api_keys/{api_key_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
{
"id": 5,
"key": "******************Iwgo",
"name": "dev-key",
"api_key_scopes": [
{
"controller": "text",
"action": "text"
}
]
}API Key Scope: api_keys / update
Numeric ID of API Key.
A specific file.
PUT /api/v2/users/me/api_keys/{api_key_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"name": "dev-key",
"api_key_scopes": [
{
"controller": "text",
"action": "text"
}
]
}A specific file.
{
"id": 5,
"key": "******************Iwgo",
"name": "dev-key",
"api_key_scopes": [
{
"controller": "text",
"action": "text"
}
]
}API Key Scope: api_keys / destroy
Numeric ID of API Key.
API Key destroyed.
No content
DELETE /api/v2/users/me/api_keys/{api_key_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
API Key destroyed.
No content
API Key Scope: users / show
A specific user.
User is unauthorized.
The requested resource was not found. The detailed error will be of type not_found.
GET /api/v2/users/me HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-11-05T15:50:35.879Z",
"updated_at": "2025-11-05T15:50:35.879Z",
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}API Key Scope: users / index
The number of items to display for pagination.
The number of items to skip for pagination.
List of users.
GET /api/v2/users HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of users.
{
"count": 1,
"users": [
{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-11-05T15:50:35.879Z",
"updated_at": "2025-11-05T15:50:35.879Z",
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}
]
}API Key Scope: users / create
10010001000adminCreation and update only
[email protected]Expiration date of the user account
web_appPossible values: A specific user.
The received resource was not correctly formatted.
POST /api/v2/users HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-11-05T15:50:35.879Z",
"updated_at": "2025-11-05T15:50:35.879Z",
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}API Key Scope: users / show
Numeric ID, username, or email.
A specific user.
The requested resource was not found. The detailed error will be of type not_found.
GET /api/v2/users/{user_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-11-05T15:50:35.879Z",
"updated_at": "2025-11-05T15:50:35.879Z",
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}API Key Scope: users / update
Numeric ID, username, or email.
10010001000adminCreation and update only
[email protected]Expiration date of the user account
web_appPossible values: A specific user.
The received resource was not correctly formatted.
PUT /api/v2/users/{user_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-11-05T15:50:35.879Z",
"updated_at": "2025-11-05T15:50:35.879Z",
"expired_at": "2025-11-05T15:50:35.879Z",
"source_type": "web_app"
}API Key Scope: users / destroy
Numeric ID, username, or email.
Container destroyed.
No content
DELETE /api/v2/users/{user_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Container destroyed.
No content
API Key Scope: users / systems
List of users.
GET /api/v2/users/-/systems HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of users.
{
"count": 1,
"users": [
{
"name": "text",
"uid": 1,
"gid": 1,
"info": "text"
}
]
}API Key Scope: groups / systems
List of user groups.
GET /api/v2/groups/-/systems HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of user groups.
{
"count": 1,
"groups": [
{
"name": "text",
"gid": 1,
"users": [
"text"
]
}
]
}Last updated
Was this helpful?