metadata
title: REST API endpoints for enterprise users
shortTitle: Users
allowTitleToDifferFromFilename: true
intro: >-
Use the REST API to suspend, unsuspend, promote, and demote users on your
enterprise.
versions:
ghes: '*'
topics:
- API
autogenerated: rest
About user administration
These endpoints are only available to authenticated site administrators. Normal users will receive a 403 response.
{% data reusables.user-settings.enterprise-admin-api-classic-pat-only %}