Skip to main content
Version: v1.1.1

Delete an environment of a project

Delete an environment of a project

DELETE 

undefined/functions/v1/environments/:environmentIdentifier

Delete an environment of a project

Request

Path Parameters

    environmentIdentifier stringrequired

    The ID or Name of the Environment

Header Parameters

    X-Organization-Id string

    The ID of the organization (this parameter is not required when using API key authorization)

    X-Project-Id string

    The ID of the project (Use this if you are not going to use the X-Project-Name)

    X-Project-Name string

    The Name of the project (Use this if you are not going to use the X-Project-Id)

Responses

Success

Schema
    successboolean
    Default value: true
    timestampstring
    Default value: 2024-01-01T00:00:00.000Z
    statusCodenumber
    Default value: 200
    statusTextstring
    Default value: Success
    messagestring
    Default value: Message successfully
    localizationstring
    Default value: someone-method:success
    dataobject

Authorization: x-api-key

name: x-api-keytype: apiKeyin: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "undefined/functions/v1/environments/:environmentIdentifier");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("x-api-key", "<x-api-key>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
undefined/functions/v1
Auth
Parameters
— pathrequired
— header
— header
— header
ResponseClear

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