File Location API
A file location is an FTP site or other file storage location used to transfer files to or from your Marketing Cloud account. It's useful to create, rotate, manage and delete access keys, such as Amazon S3 credentials and external SFTP usernames and passwords. A file location configuration contains keys, passwords, and URLs. It's used with Automation Studio activities such as:
- Imports
- Data extracts
- File transfer activities
In the base URI example here, the abbreviation {tsd}
is a placeholder to be replaced by the "tenant-specific domain".
Supported Use Case | HTTP Verb | URI |
---|---|---|
Create a file location. | POST | data/v1/filetransferlocation |
Get all file locations. | GET | data/v1/filetransferlocations |
Get a specific file location. | GET | data/v1/filtransferlocation/{customerKey} |
Update a specific file location. | PATCH | data/v1/filtransferlocation/{customerKey} |
Deactivate a specific file location. | DELETE | data/v1/filtransferlocation/{customerKey} |