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

OpenAI Project user role assignments API

The Project user role assignments API from OpenAI — 2 operation(s) for project user role assignments.

OpenAI Project user role assignments API is one of 51 APIs that OpenAI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Project user role assignments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 3 operations across 2 paths, and defines 7 schemas. It is described by OpenAPI 3.0.0, at version 2.0.0.

Requests are made against a single base URL, https://api.openai.com/v1.

3 operations 2 paths 7 schemas 1 DELETE1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.0
Base URL
https://api.openai.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

OpenAI Project user role assignments API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 3

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

Project user role assignments 3
GET
/projects/{project_id}/users/{user_id}/roles
Lists the project roles assigned to a user within a project.
list-project-user-role-assignments 5 params → 200
POST
/projects/{project_id}/users/{user_id}/roles
Assigns a project role to a user within a project.
assign-project-user-role 2 params body → 200
DELETE
/projects/{project_id}/users/{user_id}/roles/{role_id}
Unassigns a project role from a user within a project.
unassign-project-user-role 3 params → 200

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are User (16 properties), AssignedRoleDetails (11 properties), Role (7 properties), RoleListResource (4 properties). Each schema is shown below with its type and property counts.

User
object
Represents an individual user within an organization.
16 properties 3 required
UserRoleAssignment
object
Role assignment linking a user to a role.
3 properties 3 required
PublicAssignOrganizationGroupRoleBody
object
Request payload for assigning a role to a group or user.
1 property 1 required
AssignedRoleDetails
object
Detailed information about a role assignment entry returned when listing assignments.
11 properties 11 required
Role
object
Details about a role that can be assigned through the public Roles API.
7 properties 7 required
DeletedRoleAssignmentResource
object
Confirmation payload returned after unassigning a role.
2 properties 2 required
RoleListResource
object
Paginated list of roles assigned to a principal.
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openai-project-user-role-assignments-api-openapi.yml Raw ↑

Other APIs OpenAI publishes across the network.

OpenAI Responses API
OpenAI Moderations API
OpenAI Batch API
OpenAI Vector Stores API
OpenAI Uploads API
OpenAI Realtime API
OpenAI Evals API
OpenAI Videos API
OpenAI Conversations API
OpenAI Containers API
OpenAI ChatKit API
OpenAI Skills API
Where this information came from

This is an independent, third-party profile of OpenAI Project user role assignments 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.