Can we set user attribute values temporarily in an API session?

Knowledge Drop

Last tested: Jun 17, 2020
 

Not exactly - API calls use the user attributes of whoever's credentials are being used.

We can use the set_user_attribute_group_values call to set user attributes, but these will persist past the API session - if you wanted to revert the user attribute values after the session, it would need to be done in another call.

This content is subject to limited support.                

Version history
Last update:
‎06-28-2021 11:48 AM
Updated by: