19 lines
582 B
Markdown
19 lines
582 B
Markdown
---
|
|
title: REST API endpoints for blocking users
|
|
shortTitle: Blocking users
|
|
intro: Use the REST API to block and unblock users in an organization.
|
|
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
|
fpt: '*'
|
|
ghec: '*'
|
|
topics:
|
|
- API
|
|
allowTitleToDifferFromFilename: true
|
|
autogenerated: rest
|
|
---
|
|
|
|
## About blocking users
|
|
|
|
The token used to authenticate the call must have the `admin:org` scope in order to make any blocking calls for an organization. Otherwise, the response returns `HTTP 404`.
|
|
|
|
<!-- Content after this section is automatically generated -->
|