Import Users
post
/rest/v19/users/actions/import
Use this endpoint to import users for a site as designated in a zip file.
Request
Supported Media Types
- multipart/form-data
Form Parameters
-
file(required): file
Zip file to be imported
Response
Supported Media Types
- application/json
Default Response
Upload File Task details
Root Schema : Task details
Type:
object
Title:
Task details
Task details
Show Source
-
links:
array Links
Title:
Links
Links to the related objects. -
taskId:
integer
Title:
Task Id
The status log task Id.
Nested Schema : Links
Type:
array
Title:
Links
Links to the related objects.
Show Source
-
Array of:
object Reference Links
Title:
Reference Links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Reference Links
Type:
object
Title:
Reference Links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
href
URL to the related object -
rel:
string
Title:
Link
Link relationship to the current object
Examples
The following example imports users for a site as designated in a zip file by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/users/actions/import
Response Body Sample
{ "taskId": 21424928, "links": [ { "rel": "self", "href": "http://sitename.oracle.com/rest/v19/tasks/21424928" } ] }