22 lines
666 B
Markdown
22 lines
666 B
Markdown
---
|
|
title: Users
|
|
intro: >-
|
|
Use the REST API to suspend{% ifversion ghes %}, unsuspend, promote, and
|
|
demote{% endif %}{% ifversion ghae %} and unsuspend{% endif %} users on your
|
|
enterprise.
|
|
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
|
|
ghae: '*'
|
|
ghes: '*'
|
|
topics:
|
|
- API
|
|
autogenerated: rest
|
|
---
|
|
|
|
## About user administration
|
|
|
|
These endpoints are only available to [authenticated](/rest/overview/authenticating-to-the-rest-api) site administrators. Normal users will receive a `403` response.
|
|
|
|
{% data reusables.user-settings.enterprise-admin-api-classic-pat-only %}
|
|
|
|
<!-- Content after this section is automatically generated -->
|