Delete Resource REST API

Delete Resource REST API

Use the Delete Resource Definition REST API to delete a Informatica Managed File Transfer resource according to the resource ID. This API uses the DELETE method.
Use the following URL for the REST API call:
DELETE http://<hostName>:<portNumber>/informaticamft/api/v1/resources/{resourceId}
  • <hostName>
    is the host name or IP address of the Managed File Transfer server.
  • <portNumber>
    is the port number of the Managed File Transfer server. The default port for HTTP is 8000 and the default port for HTTPS is 8002, for example,
    http://myserver:8000
    or
    https://myserver:8002
    .
The following table describes the request variable:
Object
Arguments
resourceId
The database identification number for the resource.
When a resource is created, the database identification number (databaseId) is provided in resource object.
The following table describes the response body objects:
Object
Arguments
1
The resource was successfully deleted.
responseCode
If unsuccessful, the API returns the response code
RESOURCE_NOT_FOUND
..
message
If unsuccessful, the API returns a descriptive message.

Response Body Example

The following code shows a response:
{ 1 }

0 COMMENTS

We’d like to hear from you!