Display the new object ACL definition associated to a user, or display that portion of the new object ACL definition which relates to a particular principal.
/api/v1/user/get_newobj_acl?user=user&principal=principal&vdc=vdc
Name of the user. Prepend the user name with / to indicate a global user.
A URL-encoded principal
Name of the target virtual data center
synchronous
GET
GET http://192.168.123.200/api/v1/user/get_newobj_acl?user=apiuser&principal=&vdc=mygrid
<acl>
<entries>
<name>entries0</name>
<full>1</full>
<id>778fee4e-9b83-4160-8b79-8bb0e1a87af8</id>
</entries>
<owner>
<id></id>
</owner>
</acl>
{
"acl" : {
"owner" : {
"id" : ""
},
"entries" : {
"entries0" : {
"id" : "778fee4e-9b83-4160-8b79-8bb0e1a87af8",
"full" : 1
}
}
}
}
Entity vdc vdc not found - A VDC name was specified that is not configured in the WS_API application.
Entity not found - There is no principal name match for 'principal'
Missing required arguments (user). - Argument user=user missing in the request.
Note: This API is available with WS_API_r10-1.0.10-1 and above.
Replace the entire new object ACL definition associated to a user.
/api/v1/user/put_newobj_acl?user=user&acl=<ACLs>&vdc=controller-name
Name of the user; prepend the user name with / to indicate a global user.
URL-encoded list of principals separated with a slash (/)
A URL-encoded principal
Name of the target virtual data center
synchronous
GET
GET http://192.168.123.200/api/v1/user/put_newobj_acl?user=apiusr&acl=apiusrp%3Downer%2Ftest%403tera.com%3Dconfigure&vdc=mygrid
{
"message" : ""
}
<message></message>
Entity vdc mygrid not found
- A VDC name was specified that is not configured in the WS_API application.
Entity not found - There is no principal name match for 'principal'
Missing required arguments (acl). - Argument acl=<ACL> missing in the request.
Missing required arguments (user). - Argument user=user missing in the request.
Note: This API is available with WS_API_r6-1.0.6-1 and above.
Replace that portion of a new object ACL definition associated to a user which relates to the owner or a principal entry.
/api/v1/user/modify_newobj_acl?user=user&acl=<ACLs>&vdc=controller-name
Name of the user; prepend the user name with / to indicate a global user.
URL-encoded list of principals separated with a slash (/)
Name of the target virtual data center
synchronous
GET
GET http://192.168.123.200/api/v1/user/modify_newobj_acl?user=apiusr&acl=apiusr%3Downer%2Ftest%403tera.com%3Dconfigure&vdc=mygrid
<message></message>
{
"message" : ""
}
Entity vdc controller-name not found - A VDC name was specified that is not configured in the WS_API application.
Entity not found - There is no principal name match for 'principal'
Missing required arguments (acl). - Argument acl=<ACL> missing in the request.
Missing required arguments (user). - Argument user=user missing in the request.
Note: This API is available with WS_API_r10-1.0.10-1 and above.
|
Copyright © 2012 CA.
All rights reserved.
|
|