Forum Discussion

kandulmadhu's avatar
8 years ago

Update user profile key using REST API in freemarker

Hi,

 

I need to update a user profile key in my custom endpoint.

I know the REST API to be used here:

/users/id/${user_id}/profiles/name/${key}/set?value=${value}

 

But I am not able to post this request using following code:

<#assign updateKey = restadmin("/users/id/${user_id}/profiles/name/${key}/set?value=${value}") />

 

Any help would be appreciated.

Thanks,

Madhu

 

 

No RepliesBe the first to reply