RemoteConnections
/api/v2/remotesList all remote connections
Parameters
Query parameters
orgID
required
stringname
stringremoteURL
string <uri>Header parameters
Zap-Trace-Span
stringcurl --request GET \
"http://localhost:8086/api/v2/remotes?orgID=ORGID" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
remotes
object[]code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/remotesRegister a new remote connection
Request body required
application/jsonallowInsecureTLS
required
booleandescription
stringname
required
stringorgID
required
stringremoteAPIToken
required
stringremoteOrgID
stringremoteURL
required
string <uri>curl --request POST \
"http://localhost:8086/api/v2/remotes" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"allowInsecureTLS": false,
"description": "DESCRIPTION",
"name": "NAME",
"orgID": "ORGID",
"remoteAPIToken": "REMOTEAPITOKEN",
"remoteOrgID": "REMOTEORGID",
"remoteURL": "REMOTEURL"
}'Responses
allowInsecureTLS
required
booleandescription
stringid
required
stringname
required
stringorgID
required
stringremoteOrgID
stringremoteURL
required
string <uri>code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/remotes/{remoteID}Retrieve a remote connection
Parameters
Path parameters
remoteID
required
stringHeader parameters
Zap-Trace-Span
stringcurl --request GET \
"http://localhost:8086/api/v2/remotes/{remoteID}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
allowInsecureTLS
required
booleandescription
stringid
required
stringname
required
stringorgID
required
stringremoteOrgID
stringremoteURL
required
string <uri>code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/remotes/{remoteID}Update a remote connection
Parameters
Path parameters
remoteID
required
stringHeader parameters
Zap-Trace-Span
stringRequest body required
application/jsonallowInsecureTLS
booleandescription
stringname
stringremoteAPIToken
stringremoteOrgID
stringremoteURL
string <uri>curl --request PATCH \
"http://localhost:8086/api/v2/remotes/{remoteID}" \
--header "Authorization: Bearer INFLUX_TOKEN" \
--header "Content-Type: application/json" \
--data-raw '{
"allowInsecureTLS": false,
"description": "DESCRIPTION",
"name": "NAME",
"remoteAPIToken": "REMOTEAPITOKEN",
"remoteOrgID": "REMOTEORGID",
"remoteURL": "REMOTEURL"
}'Responses
allowInsecureTLS
required
booleandescription
stringid
required
stringname
required
stringorgID
required
stringremoteOrgID
stringremoteURL
required
string <uri>code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
string/api/v2/remotes/{remoteID}Delete a remote connection
Parameters
Path parameters
remoteID
required
stringHeader parameters
Zap-Trace-Span
stringcurl --request DELETE \
"http://localhost:8086/api/v2/remotes/{remoteID}" \
--header "Authorization: Bearer INFLUX_TOKEN"Responses
code
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringcode
required
stringinternal error
, not implemented
, not found
, conflict
, invalid
, unprocessable entity
, empty value
, unavailable
, forbidden
, too many requests
, unauthorized
, method not allowed
, request too large
, unsupported media typeerr
stringmessage
stringop
stringWas this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.