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 Resources API

Resources are *types* of objects or feature names that you wish to protect (or gate) with permissions.For example, if you build a document-sharing app like google docs, you might want to define a "document" resource.A resource definition block typically contains **actions**.Actions are the various ways you can interact with the object / feature. Each (resource, action) pair defines a unique permission level.A resource may also contain:- roles (if you wish to define resource-bound roles or if your permissions model is relational)- relations to other resources (if your permissions model is relational, i.e: you work with a ReBAC model)- attributes (attributes that are typically defined on the resource, typically used in ABAC models)

Permit.io Resources 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 Resources. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 6 operations across 2 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against a single base URL, https://api.permit.io.

6 operations 2 paths 20 schemas 1 DELETE2 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

Permit.io Resources 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 6

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

Resources 6

Resources are types of objects or feature names that you wish to protect (or gate) with permissions. For example, if you build a document-sharing app like google docs, you might w…

GET
/v2/schema/{proj_id}/{env_id}/resources
List Resources
list_resources 7 params → 200422
POST
/v2/schema/{proj_id}/{env_id}/resources
Create Resource
create_resource 2 params body → 200422
GET
/v2/schema/{proj_id}/{env_id}/resources/{resource_id}
Get Resource
get_resource 3 params → 200422
PUT
/v2/schema/{proj_id}/{env_id}/resources/{resource_id}
Replace Resource
replace_resource 3 params body → 200422
DELETE
/v2/schema/{proj_id}/{env_id}/resources/{resource_id}
Delete Resource
delete_resource 3 params → 204422
PATCH
/v2/schema/{proj_id}/{env_id}/resources/{resource_id}
Update Resource
update_resource 3 params body → 200422

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are ResourceRead (19 properties), ResourceRoleRead (15 properties), ResourceCreate (12 properties), ResourceUpdate (11 properties). Each schema is shown below with its type and property counts.

ActionBlockRead
object
7 properties 1 required
RoleBlockEditable
object
8 properties 1 required
AttributeBlockRead
object
4 properties 2 required
DerivedRoleRuleCreate
object
4 properties 3 required
ValidationError
object
3 properties 3 required
PaginatedResult_ResourceRead_
object
3 properties 2 required
AttributeType
string
supported attribute primitives
ResourceUpdate
object
11 properties
ResourceReplace
object
11 properties 2 required
RelationBlockRead
object
4 properties 2 required
AttributeBlockEditable
object
2 properties 1 required
DerivedRoleRuleRead
object
7 properties 6 required
permit_backend__schemas__schema_derived_role_rule__DerivationSettings
object
Settings for a derived role or a derived role rule
1 property
ResourceRoleRead
object
15 properties 10 required
DerivedRoleBlockEdit
object
2 properties
ActionBlockEditable
object
5 properties
ResourceRead
object
19 properties 8 required
HTTPValidationError
object
1 property
DerivedRoleBlockRead
object
3 properties 1 required
ResourceCreate
object
12 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

permit-io-resources-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 Resources 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.