Versions Compared

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.

Required Permission

Manage Remote Providers

Version Introduced2.5.0


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.


Sample Calls:


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" -X DELETE http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/4/removeMapping


Sample Output:


Code Block
themeEclipse
{
    "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
rootRemote Providers API