# Error while updating Identity attribute variable via Workflow(HTTP) Action trigger

**URL:** <https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows, api, sailpoint-identity-security\
**Created:** [January 27, 2025, 10:59am UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086 "2025-01-27T10:59:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![LearningStar](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@LearningStar](https://developer.sailpoint.com/discuss/u/LearningStar)\
**Post date:** [January 27, 2025, 10:59am UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/1 "2025-01-27T10:59:18Z")

</div>

Hi Everyone,

I hope everyone doing well !  
Currently I am working on one use case where I need to update two identity attribute value input for particular user via form inputs using workflow functionality, When I tried to use HttpAction Trigger into my workflow (Update Identity Attribute) got certain errors on Update Identity attribute API that belong to v2024, I am not sure whether its supportable right now for V2024 API for Http action trigger, got same error after trying same via Postman client.

Error :405 (method not allowed)

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [January 27, 2025, 11:27am UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/2 "2025-01-27T11:27:30Z")

</div>

Hi @LearningStar Can you give more information on the issue like which attribute you are trying to update and what’s the http operation payload looks like in the workflow test input?

---

<div class="post-metadata">

**Author:** ![LearningStar](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@LearningStar](https://developer.sailpoint.com/discuss/u/LearningStar)\
**Post date:** [January 27, 2025, 12:10pm UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/3 "2025-01-27T12:10:06Z")

</div>

@Santhakumar thanks for looking into this, I am trying to update two attributes which are present at Identity profile I need to update at user attribute level since this use case created for New Joiner event,  
There are two attributes which is Business Location, Client-role these two inputs we need to get it from User Input via form into workflow.

There are two inputs that we are derived from form inputs and those inputs we need to add at identity attribute for user whom this trigger applied.

Request URL :[https://xyzyz.api.identitynow.com/v2024/identity-attributes/:name](https://xyzyz.api.identitynow.com/v2024/identity-attributes/:name)

**Request URL parameters**

name :displayName

PUT : Method  
body :  
{“displayName”:“Cost Center”,“multi”:false,“name”:“costCenter”,“searchable”:false,“sources”:[{“properties”:{“ruleName”:“Cloud Promote Identity Attribute”,“ruleType”:“IdentityAttribute”},“type”:“rule”}],“standard”:false,“system”:false,“type”:“string”}

I am using the default one as my previous created payloads were getting failed at workflow test level.

---

<div class="post-metadata">

**Author:** ![patrickboston](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/patrickboston/32/5876_2.png) [@patrickboston](https://developer.sailpoint.com/discuss/u/patrickboston)\
**Post date:** [January 27, 2025, 12:29pm UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/4 "2025-01-27T12:29:34Z")

</div>

Ignoring your error for now, this endpoint is for updating the definition of an identity attribute, not updating the value of an identity attribute on a specific identity. You cannot update an identity attribute value directly via API, they can only be influenced via a source mapping, transform, or rule.

---

<div class="post-metadata">

**Author:** ![Abhishek\_1995](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Abhishek\_1995](https://developer.sailpoint.com/discuss/u/Abhishek_1995)\
**Post date:** [January 27, 2025, 12:45pm UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/5 "2025-01-27T12:45:44Z")

</div>

Hi @LearningStar,

I tried to update the Searchable name it work properly by using the beta version.

please check the screenshot for your reference:

Note: **what name you want to change give in displayName.**

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/7/9/79f057e6340155453a6758311028edecc2f15df5.png)

**Response** :

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/d/b/dbee742615941661ae5d059f4836111b8545db40.png)

**Output** :

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/4/2/4299faf028716f855e1be054de88c72a1ef195bc.png)

Please check on below link for your reference:

> **[put-identity-attribute | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/put-identity-attribute)**
>
> \<Heading

Thank you!

---

<div class="post-metadata">

**Author:** ![Abhishek\_1995](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Abhishek\_1995](https://developer.sailpoint.com/discuss/u/Abhishek_1995)\
**Post date:** [January 27, 2025, 12:56pm UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/6 "2025-01-27T12:56:27Z")

</div>

Hi @LearningStar,

I also tries with v2024 version it also worked.

Please check the screenshot for your reference.

Note: Please use in **Headers** :  
**X-SailPoint-Experimental** : **true**  
then it will work.

URL:

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/d/1dc1f55492d7628b320be085177155327a307635.png):

**name** : Technical name  
**Body** :

> {  
> “name”: “costsentric”,  
> “displayName”: “costSentricsee”,  
> “standard”: false,  
> “type”: “string”,  
> “multi”: false,  
> “searchable”: true,  
> “system”: false,  
> “sources”: null  
> }

**Screenshot** :

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/9/2/92c5bbd9f30956319955bf090f29131d79ed392e.png)

**Response** :

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/e/c/ece3b160b3e9eb264a39058f7b181d53b20e12f5.png)

**Output** :

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/e/a/ea89a2dfd6dcbe76c8f784efdd3eae084bdce7b0.png)

Also Please check the link for your reference:

> **[put-identity-attribute | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/v2024/put-identity-attribute)**
>
> \<Heading

Thank you!

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [January 27, 2025, 2:47pm UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/7 "2025-01-27T14:47:14Z")

</div>

You can’t update the identity attribute value in ISC. You can edit only the searchable name attribute not any other attributes.

I think you can go with another approach. SInce ISC didn’t have the capacity to update the identity attribute.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [January 27, 2025, 2:56pm UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/8 "2025-01-27T14:56:38Z")

</div>

You can update the displayName of the attribute but not the actual value that the attributes is populating.

---

<div class="post-metadata">

**Author:** ![LearningStar](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@LearningStar](https://developer.sailpoint.com/discuss/u/LearningStar)\
**Post date:** [January 28, 2025, 5:17am UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/9 "2025-01-28T05:17:50Z")

</div>

Thanks Everyone for your great response, I understood that its not supported to update identity attribute via API.

@colin_mckibben @Santhakumar

Which way would be more suitable for this use case as we need to update user attributes via form input here from workflow ? Do you know any other way around that we can use here. it should use form inputs those 2 values should be write to identity attribute for user this action triggered.

---

<div class="post-metadata">

**Author:** ![Santhakumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/santhakumar/32/17329_2.png) [@Santhakumar](https://developer.sailpoint.com/discuss/u/Santhakumar)\
**Post date:** [January 28, 2025, 10:45am UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/10 "2025-01-28T10:45:50Z")

</div>

There is no way to update the identity attribute via workflow. May be you can create an Idea on Ideas Portal.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [March 29, 2025, 10:46am UTC](https://developer.sailpoint.com/discuss/t/error-while-updating-identity-attribute-variable-via-workflow-http-action-trigger/99086/11 "2025-03-29T10:46:02Z")

</div>

Closed on March 29, 2025, 10:46am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
