Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/rest/{version}/remoteprovider/{remoteProviderEntityId}/configure


Descriptor

Value

HTTP Method

POST

Description

Updates existing ThreadFix remote provider configuration

Required Permissions

Manage Remote Providers

Version Introduced2.8


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

Request Parameters

Parameter

Value

Required

Description

url

URL

No

Updated URL of the remote provider application.

name

String

No

Used if you want to update the name of the remote provider in ThreadFix.

passwordStringNo*Updated password of the remote provider application.
ApiKeyStringNo*Updated API key of the remote provider application.
SecretKeyStringNo*Updated secret key value for the remote provider application.
*If updating only the name and/or URL of the remote provider, the current values will need to be provided.

Sample Call:

Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST --data "name=Veracode&ApiKey={apiKey}&SecretKey={secretKey}" http://localhost:8080/threadfix/rest/latest/remoteprovider/{remoteProviderEntityId}/configure


Sample Output:

Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "Veracode Remote Provider is edited successfully."
}


Page Tree
rootRemote Providers API