Update Group

 
MethodURIDescription
PUT/v2.0/RAX-GRPADM/groups/{groupId}

Updates a group.

Normal response codes: 200

Error response codes: identityFault (400, 500, ), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), serviceUnavailable (503), itemNotFound (404), badMediaType (415)

 Request

This table shows the header parameters for the update group request:

NameTypeDescription

X-Auth-Token

​String

(Required)

A valid authentication token for an administrative user.

This table shows the URI parameters for the update group request:

NameTypeDescription

{groupId}

​String

The group ID.

This table shows the body parameters for the update group request:

NameTypeDescription

group

​Group​For​Update

(Required)

 

Example 6.7. Update Group: XML request

<group name="newName" xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
    <description>A new description</description>
</group>

 

Example 6.8. Update Group: JSON request

{
  "RAX-KSGRP:group": {
      "name": "newName",
      "description": "A Description of the group"
  }
}

 Response
 

Example 6.9. Update Group: XML response

<group id="1234" name="newName" xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
    <description>A new description</description>
</group>

 

Example 6.10. Update Group: JSON response

{
  "RAX-KSGRP:group": {
      "id": "1234",
      "name": "newName",
      "description": "A new description"
  }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...