Forbidden
https://developer.hostup.se/errors/forbidden {
"type": "https://developer.hostup.se/errors/forbidden",
"title": "Forbidden",
"status": 403,
"detail": "Field${rejectedAdminKeys.length === 1 ? ",
"code": "forbidden",
"instance": "/api/v2/...",
"requestId": "req_abc123",
"timestamp": "2026-04-27T12:00:00.000Z"
} /api/v2/billing/cards List saved cards POST /api/v2/billing/cards Store saved card DELETE /api/v2/billing/cards/{id} Delete saved card GET /api/v2/billing/invoices List invoices GET /api/v2/billing/invoices/{id}/credit-note Get credit note PDF GET /api/v2/billing/invoices/{id}/pdf Get invoice PDF GET /api/v2/billing/payment-methods List billing payment methods GET /api/v2/billing/payment-methods/contacts List invoice CC recipients POST /api/v2/billing/payment-methods/contacts Add invoice CC recipient DELETE /api/v2/billing/payment-methods/contacts Remove invoice CC recipient const response = await fetch(url, options);
if (!response.ok) {
const problem = await response.json();
if (problem.code === "forbidden") {
// Handle: Forbidden
console.error(problem.detail);
}
}