Updating Resources

Many TIBCO Cloud™ Integration API resources support PUT methods. You must supply a model for the resource that you are updating:

If you do not want to update a property, do one of the following:

If you want to clear a property, provide the default, non-null value for that property in the model, as follows:

When a PUT operation is successful, it returns the HTTP Response either a 200 or a 202 code with a success message. For example, the following updates the model to change the app description for the app ID ctpzbxd3ixndbmceudmkjfmpj42negn4 and returns a success message.

curl -X PUT "https://api.cloud.tibco.com/tci/v1/subscriptions/0/apps/ctpzbxd3ixndbmceudmkjfmpj42negn4" -H  "accept: application/json" -H  "Authorization: Bearer <your-oauth-token>" -H  "Content-Type: application/json" -d "{\"description\":\"This is an updated test App\"}"
{
  "message": "App 'ctpzbxd3ixndbmceudmkjfmpj42negn4' updated successfully"
}

Related Topics

API Basics