---
title: "Check if a user is blocked by an organization"
method: GET
path: "/orgs/{org}/blocks/{username}"
tags: ["orgs"]
---

# Check if a user is blocked by an organization

`GET /orgs/{org}/blocks/{username}`

Returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub.

## Path parameters

- `org` string, required
- `username` string, required

## Response `204`

If the user is blocked

## Other responses

- `404` — If the user is not blocked

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
