PUT
/v2/projects/{projectId}/import/result/files/{fileId}/select-namespaceSelect a namespace for an import file
Sets the namespace for a file in a project's prepared import. Identify the file and project in the path, then provide the namespace in the request body. Use this operation to assign the file to the namespace it should use when imported.
fileIdintegerrequired
The integer identifier of the file in the prepared import.
projectIdintegerrequired
The integer identifier of the project containing the prepared import.
Namespace selection for the import file.
namespacestringoptional
The namespace to assign to the file.
200Confirms that the namespace was set for the import file.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user lacks permission to update the prepared import.
codestringrequired
paramsarray<object>optional
404Returned when the project or import file cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid. A 403 is returned when the authenticated user lacks permission to update the prepared import, and a 404 is returned when the project or file cannot be found. The fileId and projectId path parameters must identify the import file and its project.