How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Permit.io Environments API

Environments are silos contained within projects that enables you to safely iterate on changes.Environments allow you to manage your policy throughout your entire development lifecycle,from dev to production. Typical environments within a project could be `production`, `staging`,or individual environments.Each project must contain at least one environment.You may clone an environment from a base environment, similar to git branches.You can later safely merge the changes, after you tested them.

Permit.io Environments API is one of 43 APIs that Permit.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Environments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 10 operations across 7 paths, and defines 28 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against the base URL https://api.permit.io.

10 operations 7 paths 28 schemas 1 DELETE4 GET1 PATCH4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://api.permit.io
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Permit.io Environments API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (HTTPBearer).

  • HTTPBearer — Authorization header, we support the bearer authentication scheme (see: RFC 6750)

Paths & Operations 10

Across 7 paths, the API surfaces 10 operations — 1 DELETE, 4 GET, 1 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Environments 10

Environments are silos contained within projects that enables you to safely iterate on changes. Environments allow you to manage your policy throughout your entire development lif…

GET
/v2/projects/{proj_id}/envs/{env_id}/stats
Stats Environments
stats_environments 2 params → 200422
GET
/v2/projects/{proj_id}/envs
List Environments
list_environments 3 params → 200422
POST
/v2/projects/{proj_id}/envs
Create Environment
create_environment 1 param body → 200422
GET
/v2/projects/{proj_id}/envs/{env_id}
Get Environment
get_environment 2 params → 200422
DELETE
/v2/projects/{proj_id}/envs/{env_id}
Delete Environment
delete_environment 2 params → 204422
PATCH
/v2/projects/{proj_id}/envs/{env_id}
Update Environment
update_environment 2 params body → 200422
POST
/v2/projects/{proj_id}/envs/{env_id}/copy
Copy Environment
copy_environment 2 params body → 201422
POST
/v2/projects/{proj_id}/envs/{env_id}/copy/async
Copy Environment Async
copy_environment_async 3 params body → 202422
GET
/v2/projects/{proj_id}/envs/{env_id}/copy/async/{task_id}/result
Get Copy Environment Task Result
get_copy_environment_async_result 4 params → 200422
POST
/v2/projects/{proj_id}/envs/{env_id}/test_jwks
Test Jwks By Url
test_jwks_by_url 3 params → 200422

Schemas 28

The contract defines 28 schemas that model the data the API accepts and returns. The most detailed are OrgMemberReadWithGrants (18 properties), EnvironmentStats (14 properties), EnvironmentReadWithEmailConfig (13 properties), EnvironmentRead (12 properties). Each schema is shown below with its type and property counts.

MemberAccessLevel
string
An enumeration.
EnvironmentCreate
object
6 properties 2 required
ErrorDetails
object
6 properties 3 required
ValidationError
object
3 properties 3 required
InviteRead
object
9 properties 6 required
OnboardingStep
string
An enumeration.
JwksObj
object
1 property 1 required
EnvironmentRead
object
12 properties 7 required
OrgMemberReadWithGrants
object
18 properties 10 required
EnvironmentCopy
object
3 properties 1 required
MemberAccessObj
string
An enumeration.
IdentityRead
object
6 properties 6 required
EnvironmentStatistics
object
8 properties 8 required
InviteStatus
string
An enumeration.
EnvironmentStats
object
14 properties 9 required
JwksConfig
object
3 properties
HTTPValidationError
object
1 property
EnvironmentUpdate
object
5 properties
TaskStatus
string
An enumeration.
EnvironmentCopyScope
object
5 properties
Permission
object
11 properties 3 required
EnvironmentCopyTarget
object
2 properties
TaskResult_EnvironmentRead_
object
4 properties 2 required
EnvironmentCopyScopeFilters
object
2 properties
EnvironmentCopyConflictStrategy
string
An enumeration.
EnvironmentReadWithEmailConfig
object
13 properties 8 required
PDPConfigRead
object
10 properties 5 required
ErrorCode
string
An enumeration.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

permit-io-environments-api-openapi.yml Raw ↑

Other APIs Permit.io publishes across the network.

Permit.io Access Requests (EAP) API
Permit.io Activity Log API
Permit.io API History API
Permit.io API Keys API
Permit.io Audit Elements Data API
Permit.io Audit Log Replay API
Permit.io Audit Logs API
Permit.io Bulk Operations API
Permit.io Condition Set Rules API
Permit.io Condition Sets API
Permit.io Deprecated API
Permit.io Elements Configs (EAP) API
Where this information came from

This is an independent, third-party profile of Permit.io Environments API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.