Account & Organizations
Organization Users
Collections
Pages
Endpoints
Published Versions
Page Content & Versions
Environments
Webhooks
FAQs
Changelogs
AI Tools
Feedback
URL Mappings (Redirects)
UTM Analytics
Logs
API Tokens
MCP Server
Permissions
Embed
Import & Utilities
Public Docs APIs
Powered by DocStar
  1. API reference
  2. Environments

Environments

Environments are named sets of variables (e.g. baseUrl, apiKey) used to resolve {{variable}} placeholders in API endpoint documentation and the API playground. An environment is either global to the organization (type 0) or private to the creating user (type 1).

  • List Environments — GET https://api.docstar.io/orgs/:orgId/environments
  • Get Environment — GET https://api.docstar.io/orgs/:orgId/environments/:id
  • Create Environment — POST https://api.docstar.io/orgs/:orgId/environments
  • Update Environment — PUT https://api.docstar.io/orgs/:orgId/environments/:id
  • Delete Environment — DELETE https://api.docstar.io/orgs/:orgId/environments/:id
  • Import Postman Environment — POST https://api.docstar.io/import/environment
  • Export Environment — POST https://api.docstar.io/orgs/:orgId/export/environment/:environmentId
GET
List Environments
GET
Get Environment
POST
Create Environment
PUT
Update Environment
DELETE
Delete Environment
POST
Import Postman Environment
POST
Export Environment
DDocstar · API documentation

Build with Docstar. Let AI do the rest.

Add it to your AI in one click, or copy the instructions and tell it what you want to build.

Paste into your AI and tell it what you want to build.

·
Published with DocStar