Skip to content

Commit 67fdcdc

Browse files
Merge pull request #6168 from PasinduYeshan/is-7294
Fix accountDisabled attribute name
2 parents 693e528 + 4635318 commit 67fdcdc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

en/identity-server/6.0.0/docs/guides/identity-lifecycles/enable-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ management console.
9696

9797
7. Click **User Profile** adjecent to the user that needs to be enabled or disabled. The **User ID** value will be mentioned by default now.
9898

99-
2. After obtaining the SCIM ID of the user, invoke the following curl command with the `accountDisable` attribute set to `true` or `false` to disable or enable the user account respectively.
99+
2. After obtaining the SCIM ID of the user, invoke the following curl command with the `accountDisabled` attribute set to `true` or `false` to disable or enable the user account respectively.
100100

101101
```curl
102-
curl -v -k --user admin:admin -X PATCH -d '{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","value":{"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"accountDisable":"true"}}}]}' --header "Content-Type:application/json" https://localhost:9443/scim2/Users/<User-ID>
102+
curl -v -k --user admin:admin -X PATCH -d '{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","value":{"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"accountDisabled":"true"}}}]}' --header "Content-Type:application/json" https://localhost:9443/scim2/Users/<User-ID>
103103
```
104104

105105
After setting the disable status to `true` for a particular user, the server should reject any authentication attempts done by that account.

en/identity-server/6.1.0/docs/guides/identity-lifecycles/enable-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ management console.
9696

9797
7. Click **User Profile** adjecent to the user that needs to be enabled or disabled. The **User ID** value will be mentioned by default now.
9898

99-
2. After obtaining the SCIM ID of the user, invoke the following curl command with the `accountDisable` attribute set to `true` or `false` to disable or enable the user account respectively.
99+
2. After obtaining the SCIM ID of the user, invoke the following curl command with the `accountDisabled` attribute set to `true` or `false` to disable or enable the user account respectively.
100100

101101
```curl
102-
curl -v -k --user admin:admin -X PATCH -d '{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","value":{"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"accountDisable":"true"}}}]}' --header "Content-Type:application/json" https://localhost:9443/scim2/Users/<User-ID>
102+
curl -v -k --user admin:admin -X PATCH -d '{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","value":{"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"accountDisabled":"true"}}}]}' --header "Content-Type:application/json" https://localhost:9443/scim2/Users/<User-ID>
103103
```
104104

105105
After setting the disable status to `true` for a particular user, the server should reject any authentication attempts done by that account.

0 commit comments

Comments
 (0)