HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)

Did this page help you?