asset/$asset_id/acl

25Sep2009

Modifing of ACL rules of an Asset

This call will change the acl rules to an asset. All of the existing ACL rules in this asset will be replaced by the sent rules. Using 'replace' setting with value FALSE to result in not replace the existing rules.

Request URL

/asset/{asset_id}/acl [POST]

Request parameters

Parameter

Type

Description

Method

Obligatory/Optional

asset_id

alphanumeric

asset id

URL

obligatory

user_id

string

user id

POST

obligatory

replace

bool

'TRUE' or 'FALSE'. Is the rest call overwrite the existing rules? Default is TRUE. Defined as 'FALSE' means the old rules will not be overwritten.

POST

optional

aut_app[]

string

application(s) that get acces to the asset

POST

optional (POST)

aut_user[]

string

user(s) that get acces to the asset

POST

optional (POST)

aut_group[]

string

groep(en) that get acces to the asset

POST

optional (POST)

aut_domain[]

string

domein(en) that get acces to the asset

POST

optional (POST)

aut_realm[]

string

realm(s) that get acces to the asset

POST

optional (POST)

Example request URL

/asset/IuQahqi9ATcSAw2QMFAXeC2N/acl

POST:
user_id=entree004
aut_app[]=5

Example response

<response>
  <header>
    <item_count>1</item_count>
    <request_process_time>0.0563</request_process_time>
    <request_result>success</request_result>
    <request_result_description></request_result_description>
    <request_result_id>601</request_result_id>
    <request_uri>[POST] asset/IuQahqi9ATcSAw2QMFAXeC2N/acl?user_id=admin</request_uri>
    <vpx_version>1.5.7</vpx_version>
  </header>
  <items>
    <item id="1">
      <aut_app>
        <value>5</value>
        <result>success</result>
        <result_id>601</result_id>
        <result_description></result_description>
      </aut_app>
    </item>
  </items>
</response>