secure
targets
Upsert Target By Name
Changed onUpserts a target in RDI settings by its name.
put/api/v1/pipelines/targets/{name}
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/pipelines/targets/{name}
- AuthHTTP bearer
Path parameters
namestring required
Request body
object required
Example request
{
"connection": {
"type": "redis",
"host": "${HOST_IP}",
"port": 12002
}
}Response
Successful Response
Example response
{
"action_id": "1234567890"
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
removed from the response body
anyOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status
- breaking
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
removed the non-success response with the status
- warning