diff options
Diffstat (limited to 'doc/api/users.md')
-rw-r--r-- | doc/api/users.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md index 809d1474803..a69bae1c2cf 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -992,6 +992,20 @@ Example response: } ``` +## Create Service Account User **(PREMIUM)** + +> Ability to create a service account user was [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/406782) in GitLab 16.1 + +Creates a service account user with an auto-generated email address and username. + +```plaintext +POST /service_accounts +``` + +```shell +curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/service_accounts" +``` + ## List user projects See the [list of user projects](projects.md#list-user-projects). |