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

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

passwordStringNo*The Updated password of the remote provider application.
ApiKeyStringNo*The Updated API key of the remote provider application.
SecretKeyStringNo*The Updated secret key value for the remote provider application.

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