Skip to main content

Protected account

typehttps://docs.frem.sh/reference/api/errors/protected-account
HTTP status403 Forbidden

What it means

The credential is valid but not permitted to do this.

Example detail messages returned with this error:

  • {login} is a protected account and cannot be removed.

What to do

Check the token’s scopes and that it is scoped to this tenant. Owner-only actions need an owner credential.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/protected-account",
  "title": "Forbidden",
  "status": 403,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.