Uninstalls a plug-in from the Kintone environment.
Permissions
- Only Kintone Administrators can use this API.
Request Parameters
PARAMETER |
VALUE |
REQUIRED |
DESCRIPTION |
id |
String |
Yes |
The ID of the plug-in. |
Sample Request
1
2
3
4
5
6
7
8
9
10
11
|
var body = {
'id': 'djmhffjhfgmebgnmcggopedaofckljlj'
};
kintone.api(kintone.api.url('/k/v1/plugin.json', true), 'DELETE', body, function(resp) {
// success
console.log(resp);
}, function(error) {
// error
console.log(error);
});
|
curl Sample
1
2
3
4
5
6
|
curl -X DELETE 'https://{subdomain}.kintone.com/k/v1/plugin.json' \
-H 'X-Cybozu-Authorization:{AuthorizationCode}' \
-H 'Content-Type: application/json' \
-d '{
"id": "djmhffjhfgmebgnmcggopedaofckljlj"
}'
|
Response Parameters
An empty JSON object will be returned.
Sample Response