giveaway

Cancel giveaway (creator only)

Cancel a giveaway. Requires the account JWT of the giveaway creator. Cannot cancel after winners have been drawn.

post/v1/giveaway/{giveaway_id}/cancel

Request

  • Base URL
    https://api.grove.city (the document declares no server; this is the origin it was published from)
  • URL
    https://api.grove.city/v1/giveaway/{giveaway_id}/cancel
  • Auth
    none declared

Path parameters

giveaway_idstring required

Giveaway ID

Headers

authorizationstring nullable

Bearer <account_jwt>

Response

Successful Response

idstring required
creator_account_idstring required
earning_addressstring nullable
creator_handlestring nullable
creator_ens_namestring nullable
creator_base_namestring nullable
titlestring required
descriptionstring required
minimum_tip_usdstring required
allow_multiple_entriesboolean required
num_winnersinteger required
selection_modestring required
networkstring required
token_symbolstring required
start_atstring date-time required
end_atstring date-time required
statusstring required
created_atstring date-time required
updated_atstring date-time required
drawn_atstring date-time nullable
is_winnerboolean nullable
creator_addressstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.