-
Notifications
You must be signed in to change notification settings - Fork 0
api auth entity grant del
Alban LEROUX edited this page Mar 10, 2012
·
1 revision
Remove a grant access to a entity
require admin
or self
grant access
NOTE:
self
grant is not a real grant, it means that a authenticated user can act on its data.
GET http://example.com/api/get/auth.entity.grant.del/json/?entity=8b863651d51f3000226aa9a628df4ee8&grant=write
{
"method" : "auth.entity.grant.del",
"request" :
{
"entity" : "8b863651d51f3000226aa9a628df4ee8",
"grant" : "write"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.entity.grant.del</method>
<request>
<entity>8b863651d51f3000226aa9a628df4ee8</entity>
<grant>write</grant>
</refresh>
</xml>
{
"status" : "valid",
"response" :
{
"message" : "entity have no longer the grant access"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<message>entity have no longer the grant access</message>
</response>
</xml>
- entity: the entity identifier
- grant: the grant identifier
auth.config.get
auth.config.set
auth.request
auth.token
auth.refresh
auth.destroy
auth.user.add
auth.user.set
auth.user.del
auth.user.get
auth.user.list
auth.entity.add
auth.entity.set
auth.entity.del
auth.entity.get
auth.entity.list
auth.grant.add
auth.grant.set
auth.grant.del
auth.grant.get
auth.grant.list