403 Forbidden

Explanation:

The 403 Forbidden status code indicates that the server understands the request but refuses to authorize it. Unlike 401 Unauthorized, re-authenticating will make no difference.

Usage:

This status code should be used when the server wants to deny access to a valid user who doesn’t have permission for the given resource.

Attentions:

  • If the user does not have the necessary permissions, the client should handle this gracefully, often by directing them to an error page.

Sample:

undefined