Skip to main content

unsubscribeEmail

POST 

https://locksmith.unlock-protocol.com/v2/email-subscriptions/unsubscribe/:network/locks/:lockAddress

Unsubscribe email from lock

Request

Path Parameters

    network integerrequired

    Network id.

    lockAddress stringrequired

    Lock address.

Responses

Successfully unsubscribed email from lock

Schema
    successboolean

Authorization: http

name: Usertype: httpscheme: bearerbearerFormat: JWT
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://locksmith.unlock-protocol.com/v2/email-subscriptions/unsubscribe/:network/locks/:lockAddress");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://locksmith.unlock-protocol.com
Auth
Parameters
— pathrequired
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!