| `new_name` | string | no | New repository name |
| `target_namespace` | string | yes | Namespace to import repository into |
| `target_namespace` | string | yes | Namespace to import repository into. Supports subgroups like `/namespace/subgroup`. |
```shell
curl --request POST --header"PRIVATE-TOKEN: <your_access_token>"--data"personal_access_token=abc123&repo_id=12345&target_namespace=root""https://gitlab.example.com/api/v4/import/github"
curl --request POST --header"PRIVATE-TOKEN: <your_access_token>"--data"personal_access_token=abc123&repo_id=12345&target_namespace=group/subgroup""https://gitlab.example.com/api/v4/import/github"