Create a group import
POST
/api/v4/groups/import
Creates a group import. The maximum import file size can be set by the Administrator on GitLab Self-Managed (defaults to 0 (unlimited)).
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type multipart/form-data
object
path
required
Group path
string
name
required
Group name
string
file
required
The group export file to be imported
string format: binary
parent_id
The ID of the parent group that the group will be imported into. Defaults to the current user’s namespace.
integer
organization_id
The ID of the organization that the group will be part of.
integer
Responses
Section titled “ Responses ”Accepted
Bad request
Unauthorized
Forbidden
Service unavailable