Set rights on a mediafile.
/mediafile/$mediafile_id/acl [POST]
This call needs EGA authentication.
| Parameter (Type) | Description | Required | Default value | Max. length |
|---|---|---|---|---|
| mediafile_id (ALPHA_NUM) | The mediafile ID of which to change the rights. | Required | - | |
| user_id (ALPHA_NUM) | Must match the owner fo the mediafile. | Required | - | |
| aut_app[] (INT) | Application(s) that gain access to the mediafile. | Optional | - | |
| aut_domain[] (STRING) | Domain(s) that gain access to the mediafile. | Optional | - | |
| aut_group[] (ALPHA_NUM) | Group(s) that gain access to the mediafile. | Optional | - | |
| aut_group_id[] (ALPHA_NUM) | Alias of aut_group. | Optional | - | |
| aut_realm[] (STRING) | Realm(s) that gain access to the mediafile. | Optional | - | |
| aut_user[] (ALPHA_NUM) | User(s) that gain access to the mediafile. | Optional | - | |
| aut_user_id[] (ALPHA_NUM) | Alias of aut_user. | Optional | - | |
| replace (BOOL) | 'TRUE' of 'FALSE' if the current right has to be replaced. Standard is TRUE. Define if 'FALSE' if you want to keep the old rights. | Optional | TRUE | - |
mediafile/OW35AQyoPNUSi4iINunmS2nr/acl
<items>
<item id="1">
<aut_app>
<value>1</value>
<result>success</result>
<result_id>601</result_id>
<result_description></result_description>
</aut_app>
</item>
</items>