ghl_affiliate_delete_media
Deletes an affiliate media file or folder for a specific location, removing unwanted media from the affiliate manager by location and media IDs.
Instructions
Delete affiliate media Delete a media file or folder for a location. Endpoint: DELETE /affiliate-manager/{locationId}/media/{mediaId} (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes | Media Id | |
| locationId | Yes | Location Id |