Develop > Application Programming Interface > Legacy APIs > Artifact API > Update group display name, distinguished name

Update group display name, distinguished name

Use this /artifact URI to update the group display name and/or distinguised name for the specified organization.

Details

URI /artifact/<organization_id>/group/<group_id>
Method PUT
Parameters

userIdentifier=<user_id>
    Required; the user ID you want to use as credentials for this API call. See Get userIdentifier for the steps required to get the userIdentifier value.

Returns 200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception

Example

The following URL was sent:

https://<host>:<port>/csa/rest/artifact/8a81818f3d02fb7e013d0308891d0003group/8a81818f3d1437e2013d1795d41107ea?userIdentifier=90d96588360da0c701360da0f1d5f483

The following XML was sent:


<GroupList>
  <group>
    <displayName>My-New-Group-Name</displayName>
    <distinguishedName>
      cn=TestConsumer,ou=ConsumerGroup,ou=CSAGroups
    </distinguishedName>
  </group>
</GroupList>

The following XML was returned:


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Group>
  <id>8a81818f3d1437e2013d1795d41107ea</id>
  <isCriticalSystemObject>false</isCriticalSystemObject>
  <name>sc_February 22, 2013 5:54:43 PM UTC</name>
  <displayName>My-New-Group-Name</displayName>
  <state>
    <id>90d96588360da0c701360da0ef470038</id>
    <isCriticalSystemObject>false</isCriticalSystemObject>
    <name>ACTIVE</name>
    <disabled>false</disabled>
  </state>
  <artifactType>
    <id>90d96588360da0c701360da0eeff002b</id>
    <isCriticalSystemObject>false</isCriticalSystemObject>
    <name>GROUP</name>
    <disabled>false</disabled>
  </artifactType>
  <disabled>false</disabled>
  <distinguishedName>
    cn=TestConsumer,ou=ConsumerGroup,ou=CSAGroups
  </distinguishedName>
</Group>