Skip to main content

Delete a Key

DELETE 

https://key-exchange.sandbox.splitit.com/api/v1/key/:id

Using this endpoint sets the key expiration to the current date and time, effectively disabling the key for further use. Note that this call does not return a 200 message but if you fetch your key again, you will see the new expiration date.

Request

Responses

Response Headers

    Authorization: http

    name: bearerAuthtype: httpin: headerscheme: bearer
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Delete, "https://key-exchange.sandbox.splitit.com/api/v1/key/:id");
    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://key-exchange.sandbox.splitit.com
    Auth
    Parameters
    — pathrequired
    ResponseClear

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