Skip To Content
ArcGIS Developer

/addResource: Add User Resource

  • URL:https://[root]/community/users/[userName]/addResource(POST only)

Example usage

Below is a sample ArcGIS Enterprise POST request for addResource:

POST /webadaptor/sharing/rest/community/users/jdoe/addResource HTTP/1.1
Content-Type: multipart/form-data; boundary=----boundary
Content-Length: []

Content-Disposition: form-data; name="key"

Content-Disposition: form-data; name="file"; filename=""
Content-Type: application/octet-stream

<content of file>
Content-Disposition: form-data; name="text"

City of Cloud Creek logo
Content-Disposition: form-data; name="clientId"



The add resource operation (POST only) allows the administrator to add a file resource, for example, the organization's logo or custom banner. The resource can be used by any member of the organization. File resources use storage space from your quota and are scanned for viruses.

If the file resource is from a file, it must be uploaded in an HTTP multi-part request as per IETF RFC1867.

Request parameters


The name the resource should be stored under.


Multipart HTTP parameter containing the binary file to upload


Some text to be written (for example, JSON or JavaScript) directly to the resource from a web client.

JSON Response example

{"success": true}