Namespace: "urn:zimbraAdmin"
RenameCos SOAP Command

Rename Class of Service (COS)

Authorization token required true
Admin Authorization token required true

RenameCosRequest

    <RenameCosRequest> ## RenameCosRequest
        <id>{id} (String)</id>
        <newName>{newName} (String)</newName>
    </RenameCosRequest>

The following table describes elements and attributes you can define within a <RenameCosRequest> element:

XPath Required / Optional Description
/id Required (only 1) Type:{id} (String)
Zimbra ID
/newName Required (only 1) Type:{newName} (String)
new COS name

RenameCosResponse

    <RenameCosResponse> ## RenameCosResponse
        <cos id="{id}" name="{name}" [isDefaultCos="{is-default-cos} (0|1)"]> ## CosInfo
            (<a [c="{is-cos-attr} (0|1)"] [pd="{perm-denied} (0|1)"] n="{key}" /> ## CosInfoAttr)*
        </cos>
    </RenameCosResponse>

The following table describes elements and attributes you can define within a <RenameCosResponse> element:

XPath Required / Optional Description
/cos Required (only 1) Information about Class Of Service (COS)
/cos@id Required (only 1) Type:String
ID
/cos@name Required (only 1) Type:String
Name
/cos@isDefaultCos Optional (0 or 1) Type:0|1
Flag whether is the default Class Of Service (COS)
/cos/a Optional (0 or more) Attributes
/cos/a@c Optional (0 or 1) Type:0|1
Flags that this is a Class Of Service (COS) attribute.
/cos/a@pd Optional (0 or 1) Type:0|1
Flags that the value of this attribute has been suppressed for permissions reasons
/cos/a@n Required (only 1) Type:String
Key