Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

remove

Deletes a coupon block in Optimizely Campaign. Assigned coupon codes contained within are not deleted.

Type: Boolean

Parameters

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block

Return values

  • true: Coupon block has been deleted successfully
  • false: Coupon block has not been deleted

Code structure

boolean remove(String sessionId, long blockId)