--- title: 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`.