StealthTest
StealthTest Site
  • 👋Welcome to StealthTest
  • Features & Fundamentals
    • 🚰Faucet
    • 🗃️Logs
      • 📖Advanced Block Explorer
    • 💰Test Wallets
    • 🫂Teams & User Roles
      • 🎟️How to Create a Team
    • 🏢Smart Contract Repository
  • StealthTest API
    • 👨‍💻StealthTest API Reference Overview
    • 📖API Reference
      • Get Environments
      • Get Environment
      • Create Environment
      • Delete Environment
      • Get Wallet Information
      • Fund Wallet
    • 🎛️API Management
  • StealthTest Guides
    • 🧬Connecting to StealthTest Networks
      • 🦊Metamask
      • 3️⃣Thirdweb
      • 🪙Coinbase Wallet
    • ⚗️Test Wallet Import
      • 🦊Metamask Wallet Import
    • ⚡Testing with Remix
    • 🍬Testing with Truffle
    • 👷‍♂️Testing with Hardhat
    • 🍨Testing with Brownie
    • 🌲Testing with Web3.js + Cypress
Powered by GitBook
LogoLogo
On this page

Was this helpful?

  1. StealthTest API
  2. API Reference

Delete Environment

Deletes an existing environment that is currently running. This endpoint should be used after you are running tests in CI/CD, or want to shutdown specific environments that are no longer needed.

PreviousCreate EnvironmentNextGet Wallet Information

Last updated 1 year ago

Was this helpful?

curl --request DELETE 'https://api.nameless.io/v1/environments/<Environment ID>' \
--header 'x-api-key: <Your API Key>'
--header 'Content-Type: application/json'
{
    "data": {
        "environmentId": "eMwAw0mCj2TwQJBQooWm-",
        "messageId": "NztiPlNkbmyKpCAyOobl",
        "message": "Successfully deleted Environment ID eMwAw0mCj2TwQJBQooWm-."
    },
    "success": true
}
📖
Page cover image
delete

Deletes an existing environment that is currently running. Nothing is saved when this call is executed to the environment. Returns a 200 "SUCCESS" if successful.

Path parameters
environmentIdstringRequired

Environment ID. (GET /environments to see the list of your Environments)

Responses
200
Success
401
Unauthorized
500
Internal Server Error
delete
DELETE /v1/environments/{environmentId} HTTP/1.1
Host: api.nameless.io
Accept: */*

No content