forbidden

HTTP 403

Forbidden

Type URL

https://developer.hostup.se/errors/forbidden

Possible detail messages

Field${rejectedAdminKeys.length === 1 ?
You don
One or more domain IDs are not owned by the caller. The batch was rejected — v2 bulk semantics are all-or-nothing per RFC 7807 §3.5.

Example response

{
  "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"
}

Endpoints that may return this error

Handling this error

const response = await fetch(url, options);

if (!response.ok) {
  const problem = await response.json();

  if (problem.code === "forbidden") {
    // Handle: Forbidden
    console.error(problem.detail);
  }
}