This request removes custom permissions that have been set for non-owner clientIDs.
https://www.mapquestapi.com/datamanager/v2/revoke-custom-permissions
Response Formats | JSON, XML |
---|---|
Authentication | Yes (Requires Key) |
Rate Limited | Yes |
Request Parameter | Description | Required? |
---|---|---|
key String |
A unique key to authorize use of the API. | Yes |
inFormat String |
Specifies the format of the json/xml parameter. Must be one of the following, if
supplied:
json
|
No |
outFormat String |
Specifies the format of the response. Must be one of the following, if supplied:
json
|
No |
Name | Description | Required? |
---|---|---|
clientId String |
This is the ClientID associated with the API Key. |
Yes |
password String |
This is the registry password associated with the API Key. | Yes |
tableName String |
The name of the table | Yes |
customerId String |
The non-owner ClientID that has been granted permissions to access the table and specified fields. | Yes |
POST
https://www.mapquestapi.com/datamanager/v2/revoke-custom-permissions?key=KEY&inFormat=json&outFormat=json
{
"clientId": "CLIENT_ID",
"password": "REGISTRY_PASSWORD",
"tableName": "mqap.TABLENAME",
"customerId": "CUSTOMER_ID"
}
<datamanager>
<clientId>CLIENT_ID</clientId>
<password>REGISTRY_PASSWORD</password>
<tableName>TABLENAME</tableName>
<customerId>CUSTOMER_ID</customerId>
</datamanager>
{
"tableName": "mqap.TABLENAME",
"customerId": "..."
}
<datamanager>
<tableName>mqap.TABLENAME</tableName>
<customerId>...</customerId>
</datamanager>