Loading documentation…
The English technical reference is generated from the same OpenAPI document used by Swagger.
Stabilni REST klici za certifikate, poslovne prostore, elektronske blagajne in davčno potrjevanje računov pri FURS.
Interaktivni SwaggerThe English technical reference is generated from the same OpenAPI document used by Swagger.
V bančni aplikaciji skenirajte UPN QR. Prejemnik, znesek, namen in sklic se izpolnijo samodejno.
1024 × 1024 PNGPribližno 2,4 KB
POST /api/v1/payments/upn-qr
Primer trenutno ni na voljo.
Download Postman collection (sign-in required)
DELETE /api/v1/portal/admin/accounts/{id} permanently deletes a customer account. Use a signed-in superadministrator session. List eligible IDs with GET /api/v1/portal/admin/deletable-accounts.
Get a CSRF token from GET /api/v1/account/csrf in the same session. Send it in the X-CSRF-TOKEN header.
const { token } = await (await fetch('/api/v1/account/csrf')).json();
const response = await fetch('/api/v1/portal/admin/accounts/' + encodeURIComponent(id), {
method: 'DELETE',
headers: { 'Content-Type': 'application/json', 'X-CSRF-TOKEN': token },
body: JSON.stringify({ confirmation: 'DELETE' })
});
| Status | Meaning |
|---|---|
| 204 | Deleted. Empty response. |
| 400 | Missing or incorrect confirmation or CSRF token. |
| 401 / 403 | Administrator session required, or target account is protected. |
| 404 | Customer account ID could not be found. |
Files in Uploaded/<user-id> are removed before account records. Shared tenants remain available to their other users.