{"id":76725,"date":"2023-05-19T10:55:20","date_gmt":"2023-05-19T14:55:20","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=76725"},"modified":"2023-06-05T13:10:41","modified_gmt":"2023-06-05T17:10:41","slug":"import-custom-user-attributes-from-csv","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/import-custom-user-attributes-from-csv","title":{"rendered":"Import Custom User Attributes from CSV"},"content":{"rendered":"\n
Within 黑料海角91入口 you can configure custom user attributes, see\u00a0Custom User Attributes<\/a> to learn more. This article is intended to provide IT Admins a method of modifying these attributes using the 黑料海角91入口 API.<\/p>\n\n\n\n 黑料海角91入口 provides a pre-compiled binary\u00a0within our API Utility rollup.\u00a0Download the latest rollup on\u00a0GitHub<\/a>.\u00a0The uncompressed package will contain the file\u00a0ImportUserAttributes_os_arch<\/strong>.<\/p>\n\n\n\n The first row will need to apply the following format for the first two columns headers:<\/p>\n\n\n\n From the second row onward, the entries are values for either email or the custom attribute name specified. In the below example, the users are given a custom attribute name of Manager. The inputs denote the user’s manager’s name.<\/p>\n\n\n\nImportUserAttributes Usage<\/strong><\/h2>\n\n\n\n
Linux \/ Mac OS X:<\/strong><\/h3>\n\n\n\n
.\/ImportUserAttributes_darwin_amd64<\/code><\/p>\n\n\n\n
Usage of .\/ImportUserAttributes:
-api-key=””: -api-key=
-input=””: -input=
-output=””: -output=<\/code>-url=””: -url=https:\/\/console.jumpcloud.com\/api<\/a><\/code><\/p>\n\n\n\n
.\/ImportUserAttributes_darwin_amd64 -api-key=”YOUR_API_KEY” -input=”PATH_TO_CSV” -output=”PATH_TO_OUTPUT_LOG” -url=”https:\/\/console.jumpcloud.com\/api”<\/code><\/p>\n\n\n\n
Windows:<\/strong><\/h3>\n\n\n\n
PS C:\\Users\\Administrator\\Downloads> .\\ImportUserAttributes.exe
Usage of .\/ImportUserAttributes:
-api-key=””: -api-key=
-input=””: -input=
-output=””: -output=
-url=””: -url=https:\/\/console.jumpcloud.com\/api<\/a><\/code><\/p>\n\n\n\nPS C:\\Users\\Administrator\\Downloads> .\\ImportUserAttributes_darwin_amd64 -api-key=”YOUR_API_KEY” -input=”PATH_TO_CSV” -output=”PATH_TO_OUTPUT_LOG” -url=”https:\/\/console.jumpcloud.com\/api”<\/code><\/p>\n\n\n\n
Building the CSV File<\/strong><\/h2>\n\n\n\n
\n