Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/remoteprovider/remoteProviderApplication/{remoteProviderApplicationId}/removeMapping
Descriptor | Value |
---|---|
HTTP Method | DELETE |
Description | Removes the ThreadFix application mapping for a Remote Provider application. |
Restricted | True |
Required Permission | Manage Remote Providers |
Version Introduced | 2.5.0 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Calls:
Code Block | ||
---|---|---|
| ||
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" -X DELETE http://localhost:8080/threadfix/rest/latest/remoteprovider/remoteProviderApplication/4/removeMapping?apiKey={apiKey} |
Sample Output:
Code Block | ||
---|---|---|
| ||
{ "message": "", "success": true, "responseCode": -1, "object": { "id": 4, "nativeId": "1118", "nativeName": "WebGoat .NET", "customName": null, "versionsUrl": null, "remoteProviderEntity": { "id": 1, "name": "WHS", "remoteProviderType": { "name": "WhiteHat Sentinel Source", "id": 10 } }, "application": null, "lastImportTime": null, "lastImportAttemptTime": null, "lastImportStatus": "NOT_ATTEMPTED" } } |
Page Tree | ||
---|---|---|
|