Бұл құжат қазір тек English тілінде қолжетімді. Аудармалар дайын болған кезде жарияланады.
Provision users
POST /v1/partner/users — create a user and hand out a config.
Create a user
POST /v1/partner/users
Content-Type: application/json
{
"external_id": "tg_123456789",
"email": "user@example.com",
"plan_id": "pro",
"device_limit": 5
}
Response:
201 Created
{
"user_id": "usr_01J...",
"config_uri": "logrus://...",
"qr_url": "https://logrus.space/api/v1/partner/qr/usr_01J...",
"expires_at": "2027-04-21T00:00:00Z"
}
Renew
PATCH /v1/partner/users/{id}
{ "plan_id": "team", "extend_days": 30 }
Suspend
DELETE /v1/partner/users/{id}
Soft-delete: the user is disconnected and the config becomes invalid.