PUT /admin/right/{id}

Operation:
PUT /admin/right/{id}
Description:
Updates a right.
Since:
5.1
Input parameters
Consume media type(s):
application/vnd.vmware.admin.right+xml
application/vnd.vmware.admin.right+json
Input type:
RightType
Output parameters
RightType

Produce media type(s):
application/vnd.vmware.admin.right+xml
application/vnd.vmware.admin.right+json
Output type:
RightType
Examples
Request
HTTP 1.1
PUT /api/admin/right/122ab74e-b2c2-4405-9ead-870e9856c942

Headers:
Content-Length: 385
Content-Type: application/vnd.vmware.admin.right+xml; charset=ISO-8859-1
x-vcloud-authorization: SZMKkKToUBmDWSEeqZYL2yxpCqDiyToj5PYW3TigOrI=

Body:
<?xml version="1.0" encoding="UTF-8"?><vcloud:Right
    xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
    name="rightNewName">
    <vcloud:Description>someNewDescription</vcloud:Description>
    <vcloud:Category>someCategory</vcloud:Category>
    <vcloud:BundleKey>someNewBundleKey</vcloud:BundleKey>
    <vcloud:ServiceNamespace>ServiceNamespace</vcloud:ServiceNamespace>
</vcloud:Right>
Response
HTTP/1.1 200 OK

Headers:
Content-Length: 937
Content-Type: application/vnd.vmware.admin.right+xml;version=5.5
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><Right
    xmlns="http://www.vmware.com/vcloud/v1.5"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    href="https://vcloud.example.com/api/admin/right/122ab74e-b2c2-4405-9ead-870e9856c942"
    id="urn:vcloud:right:122ab74e-b2c2-4405-9ead-870e9856c942"
    name="{ServiceNamespace}:rightName"
    type="application/vnd.vmware.admin.right+xml"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        href="https://vcloud.example.com/api/admin/right/122ab74e-b2c2-4405-9ead-870e9856c942"
        rel="edit"
        type="application/vnd.vmware.admin.right+xml"/>
    <Link
        href="https://vcloud.example.com/api/admin/right/122ab74e-b2c2-4405-9ead-870e9856c942"
        rel="remove"/>
    <Description>someNewDescription</Description>
    <Category>someCategory</Category>
    <BundleKey>someNewBundleKey</BundleKey>
    <ServiceNamespace>ServiceNamespace</ServiceNamespace>
</Right>