πŸ“„ Update User Property Values via API

Update User Property Values via API

This article explains how to update the values of User Properties via an API request.


Requirements

Make sure that New Feature - Authorization Framework is installed in the Upgrade Center.

Basic knowledge of User Properties and experience with APIs and API client applications like Postman are required.

⚠️

Postman will be used as samples for this guide. There may be some differences in the instructions when using other applications.


Instructions

  1. Type the URL in the format <System URL>/auth/framework/user/metadata/update and set the method to POST.

  2. πŸ’‘

    You can get the System URL from the General Settings in your Strato Admin Tool.

  3. Go to the Authorization tab and set the Auth Type to Bearer Token. Fill in the Token field with your Bearer Token.

  4. πŸ’‘
  5. Go to the Body tab. Set the request body to form-data and fill in the following details:

    • userID: The username of a valid Strato user.
    • property_<Property Code>: The code of the User Property to be updated.
  6. Click Send. If done correctly, the API should return a success message and the User Properties will be shown with their new values.
πŸ’‘

The API can accept null or empty values for User Properties.


Related articles