Skip to content

Commit

Permalink
jans attribure schema name upated (#5764)
Browse files Browse the repository at this point in the history
  • Loading branch information
manojs1978 authored Aug 2, 2023
1 parent 64ded2c commit 0d7abf3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/admin/config-guide/jans-cli/cli-attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Operation ID: get-attributes
fieldValuePair: Field and value pair for seraching [string]
Operation ID: put-attributes
Description: Updates an existing attribute
Schema: GluuAttribute
Schema: JansAttribute
Operation ID: post-attributes
Description: Adds a new attribute
Schema: GluuAttribute
Schema: JansAttribute
Operation ID: get-attributes-by-inum
Description: Gets an attribute based on inum
Parameters:
Expand All @@ -41,7 +41,7 @@ Operation ID: delete-attributes-by-inum
Parameters:
inum: Attribute Id [string]
Operation ID: patch-attributes-by-inum
Description: Partially modify a GluuAttribute
Description: Partially modify a JansAttribute
Parameters:
inum: Attribute Id [string]
Schema: Array of PatchRequest
Expand Down Expand Up @@ -232,11 +232,11 @@ To create SSO for certain applications, you may need to add custom attributes to
```text
Operation ID: post-attributes
Description: Adds a new attribute
Schema: GluuAttribute
Schema: JansAttribute
```
Before adding a new attribute, let's get sample `schema`:
```commandline
/opt/jans/jans-cli/config-cli.py --schema GluuAttribute > /tmp/attribute.json
/opt/jans/jans-cli/config-cli.py --schema JansAttribute > /tmp/attribute.json
```
It will return as below:

Expand Down Expand Up @@ -351,7 +351,7 @@ It will create a new attribute into the Attribute list with updated `inum & dn`:
This operation-id can be used to update an existing attribute information. The Janssen Server administrator can make changes to attributes, such as changing their status to `active/inactive` by using this operation-ID. Let's look at the schema:

```
/opt/jans/jans-cli/config-cli.py --schema GluuAttribute > /tmp/attrib.json
/opt/jans/jans-cli/config-cli.py --schema JansAttribute > /tmp/attrib.json
```

You must see the similar schema while performed in `post-attributes` operation.
Expand Down Expand Up @@ -493,7 +493,7 @@ This operation can also used for updating an existing attribute by using its `in

```
Operation ID: patch-attributes-by-inum
Description: Partially modify a GluuAttribute.
Description: Partially modify a JansAttribute.
url-suffix: inum
Schema: Array of PatchRequest
```
Expand Down

0 comments on commit 0d7abf3

Please sign in to comment.