As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Configure Existing Remote Provider - API

/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:

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:

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

www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.

This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.