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-12-02T07:24:32.497Z",
"updated_at": "2025-12-02T07:24:32.497Z"
}API Key Scope: sessions / destroy
Pass the username and password of a user in the authorization header. This currently gives full access.
Successful user sign out.
DELETE /api/v2/users/sign_out HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Successful user sign out.
No content
API Key Scope: configurations / index
Pass the username and password of a user in the authorization header. This currently gives full access.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID, or key of configuration.
A specific file.
GET /api/v2/users/me/configurations/{configuration_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file.
{
"id": 5,
"key": "global.locale",
"value": "en"
}API Key Scope: configurations / update
Pass the username and password of a user in the authorization header. This currently gives full access.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID, or key of configuration.
Configuration destroyed.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID of API Key.
A specific file.
GET /api/v2/users/me/api_keys/{api_key_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file.
{
"id": 5,
"key": "******************Iwgo",
"name": "dev-key",
"api_key_scopes": [
{
"controller": "text",
"action": "text"
}
]
}API Key Scope: api_keys / update
Pass the username and password of a user in the authorization header. This currently gives full access.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID of API Key.
API Key destroyed.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
A specific user.
User is unauthorized.
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-12-02T07:24:32.497Z",
"updated_at": "2025-12-02T07:24:32.497Z"
}API Key Scope: users / index
Pass the username and password of a user in the authorization header. This currently gives full access.
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-12-02T07:24:32.497Z",
"updated_at": "2025-12-02T07:24:32.497Z"
}
]
}API Key Scope: users / create
Pass the username and password of a user in the authorization header. This currently gives full access.
10010001000adminCreation and update only
[email protected]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: 114
{
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true
}{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-12-02T07:24:32.497Z",
"updated_at": "2025-12-02T07:24:32.497Z"
}API Key Scope: users / show
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID, username, or email.
A specific user.
GET /api/v2/users/{user_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific user.
{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-12-02T07:24:32.497Z",
"updated_at": "2025-12-02T07:24:32.497Z"
}API Key Scope: users / update
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID, username, or email.
10010001000adminCreation and update only
[email protected]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: 114
{
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true
}{
"id": 100,
"user_id": 1000,
"group_id": 1000,
"username": "admin",
"password": "text",
"email": "[email protected]",
"is_admin": true,
"created_at": "2025-12-02T07:24:32.497Z",
"updated_at": "2025-12-02T07:24:32.497Z"
}API Key Scope: users / destroy
Pass the username and password of a user in the authorization header. This currently gives full access.
Numeric ID, username, or email.
Container destroyed.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
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
Pass the username and password of a user in the authorization header. This currently gives full access.
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?