Skip to content
  • Christos Stavrakakis's avatar
    Fix HTTP response code when refusing action · 148569a8
    Christos Stavrakakis authored
    Return Forbidden(403) instead of Unauthorized(401) when refusing a
    requested action, because the VM is suspended or the resource is public.
    Unauthorized should be used only when authentication is required and has
    failed or has not yet been provided.
    148569a8