Service: zimbraAdmin

Command: ModifyCos
Namespace: urn:zimbraAdmin
Description: Modify Class of Service (COS) attributes
Note: an empty attribute value removes the specified attr
Properties:
Authorization token required true
Admin Authorization token required true

ModifyCosRequest

    <ModifyCosRequest> ## ModifyCosRequest
        <id>{id} (String)</id>
        (<a n="{key}" /> ## Attr)*
    </ModifyCosRequest>

elements and attributes you can define within a <ModifyCosRequest> element:

XPath Required / Optional Description
/id Optional (0 or 1) Type: {id} (String)
Zimbra ID
/a Optional (0 or more) Attributes
/a@n Required (only 1) Type: String
Key

ModifyCosResponse

    <ModifyCosResponse> ## ModifyCosResponse
        <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>
    </ModifyCosResponse>

elements and attributes you can define within a <ModifyCosResponse> element:

XPath Required / Optional Description
/cos Optional (0 or 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