Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. Mass Ingestion Files REST API
  7. Mass Ingestion Streaming REST API
  8. RunAJob utility
  9. ParamSetCli utility
  10. REST API codes
  11. REST API resource quick references

REST API Reference

REST API Reference

Change owner of a file listener association

Change owner of a file listener association

A file listener can be associated with a taskflow or with file ingestion tasks. You can use file listener as a source or schedule(trigger) for file ingestion tasks and as a trigger for a taskflow. A file listener association is the internal link between file listener and its associated file ingestion tasks or taskflows. The owner of a file listener association is the last person who selected the file listener as a source or schedule in a file ingestion task or the last person who published the taskflow with the file listener as a trigger. You might want to change or transfer the owner of a file listener association when a user who owns the file listener association leaves the organization. For example, if the user Alex creates a file ingestion task, the user Beth creates a file listener, and the user Clara selects the file listener as a source or schedule in a file ingestion task, Clara is the owner of the file listener association. If Clara leaves the organization, you must reassign her assigned file listener associations to another user before you can delete her user account.

POST request

Use a POST request to change the owner of a file listener association from one user to an another.
Use the following URI to change the owner of a file listener association:
POST <serverUrl>/mftsaas/api/v1/ChangeCallbackOwnership
Use the following fields in the POST request:
Field
Type
Required
Description
currentOwner
String
Yes
User ID of the current owner.
newOwner
String
Yes
User ID of the new owner.

POST request example

Use this sample as a reference to change the owner of a file listener association.
POST <serverUrl>/mftsaas/api/v1/ChangeCallbackOwnership Content-Type: application/json Accept:application/json Content-Type:application/json IDS-SESSION-ID:{{IDS-SESSION-ID}} { "currentOwner": "{{UserIDwhoLeftTheOrganization}}", "newOwner": "{{NewUserID}}" }

POST response example

If the post request is successful, you might receive the following example:
200 OK

0 COMMENTS

We’d like to hear from you!