updateAssetPermissons

Last update: 2022-03-08
  • Created for:
  • Developer
    Admin

Updates asset permissions.

Syntax

Authorized User Types

  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin

Parameters

Input (updateAssetPermissionsParam)

Name Type Required Description
companyHandle xsd:string Yes Company handle.
assetHandle xsd:string Yes Asset handle.
updateArray types:PermissionUpdateArray Yes Permissions you want to apply to the asset.

Output (updateAssetPermissionsReturn)

The IPS API does not return a response for this operation.

Examples

Request

<ns1:updateAssetPermissionsParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
   <ns1:companyHandle>47</ns1:companyHandle>
   <ns1:assetHandle>15674|25|1062</ns1:assetHandle>
   <ns1:updateArray>
      <ns1:items>
         <ns1:groupHandle>225</ns1:groupHandle>
         <ns1:permissionType>Read</ns1:permissionType>
         <ns1:isAllowed>true</ns1:isAllowed>
         <ns1:isOverride>false</ns1:isOverride>
      </ns1:items>
   </ns1:updateArray>
</ns1:updateAssetPermissionsParam>

Response

None.

On this page