# Cannot update mutability of an attribute

**URL:** <https://devforum.okta.com/t/cannot-update-mutability-of-an-attribute/33364>\
**Category:** API\
**Created:** [June 11, 2025, 1:32pm UTC](https://devforum.okta.com/t/cannot-update-mutability-of-an-attribute/33364 "2025-06-11T13:32:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierschester](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@pierschester](https://devforum.okta.com/u/pierschester)\
**Post date:** [June 11, 2025, 1:32pm UTC](https://devforum.okta.com/t/cannot-update-mutability-of-an-attribute/33364/1 "2025-06-11T13:32:32Z")

</div>

Hello,  
According to the SCIM RFC, certain fields can be set to “immutable”, “read\_only”, “read\_write” and so on.  
Apparently that is supported in Okta through the API

> **[Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Schema/#tag/Schema/operation/updateApplicationUserProfile)**
>
> The Schemas API provides operations to manage custom user profiles as well as endpoints to discover the structure of the log stream configuration.
> 
> Okta's \[Universal Directory\](https://help.okta.com/okta\_help.htm?id=ext\_About\_Universal\_Directory)...

but when I try to actually use it to update an attribute that has a “READ\_WRITE” mutability (I can’t do that via UI).

```auto
mutability:

string
Defines the mutability of the property

Enum: "IMMUTABLE" "READ_ONLY" "READ_WRITE" "WRITE_ONLY"

```

But, when I do that, nothing gets changed (and mutability property is not even returned). All other fields (like title I have no issue updating via API).

Looks like either a bug or incomplete documentation.

I’m using this app

> **[SCIM 2.0 Test App (Header Auth) | Okta](https://www.okta.com/integrations/scim-2-0-test-app-header-auth/)**
>
> Easily connect Okta with SCIM 2.0 Test App (Header Auth) or use any of our other 7,000+ pre-built integrations.

Example request:

```auto
POST https://{yourOktaDomain}/api/v1/meta/schemas/apps/{appId}/default
{
    "definitions": {
        "custom": {
            "id": "#custom",
            "type": "object",
            "properties": {  
                "myProp": {
                    "title": "myProp",
                    "description": "my prop",
                    "type": "string",
                    "externalName": "extProp",
                    "externalNamespace": "urn:ietf:params:scim:schemas:custom:2.0:Ext",
                    "scope": "SELF",
                    "master": {
                        "type": "PROFILE_MASTER"
                    },
                    "mutability": "READ_ONLY"
                }
            },
            "required": []
        }
    }
}

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [July 11, 2025, 1:33pm UTC](https://devforum.okta.com/t/cannot-update-mutability-of-an-attribute/33364/2 "2025-07-11T13:33:32Z")

</div>

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