# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Harness Project Role Assignments API version: 1.0.0 extends: openapi/harness-project-role-assignments-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-09-26' generator: build-phrasing.py label: Generated by API Evangelist operations: 4 - target: $.paths['/v1/orgs/{org}/projects/{project}/role-assignments'].get update: x-apievangelist-phrasing: intent: List a project's role assignments effect: read questions: - Who has which roles in my project? - Can I page through and sort a project's role assignments? instructions: - text: List role assignments in project {project} of org {org}. slots: project: path.project org: path.org - text: Show {limit} role assignments per page for project {project} in org {org}. slots: limit: query.limit project: path.project org: path.org method: generated generated: '2026-09-26' - target: $.paths['/v1/orgs/{org}/projects/{project}/role-assignments'].post update: x-apievangelist-phrasing: intent: Assign a role in a project effect: write questions: - How do I give a user or group a role on a project? - What do I need to create a project role assignment with a resource group? instructions: - text: Assign role {role} on resource group {resource_group} to {principal} in project {project} of org {org}. slots: role: requestBody.role resource_group: requestBody.resource_group principal: requestBody.principal project: path.project org: path.org - text: Create role assignment {identifier} in org {org} project {project}. slots: identifier: requestBody.identifier org: path.org project: path.project method: generated generated: '2026-09-26' - target: $.paths['/v1/orgs/{org}/projects/{project}/role-assignments/{role-assignment}'].get update: x-apievangelist-phrasing: intent: Get a project role assignment effect: read questions: - What role and resource group does a specific project role assignment grant? - Can I look up one role assignment in a project by its identifier? instructions: - text: Get role assignment {assignment} in project {project} of org {org}. slots: assignment: path.role-assignment project: path.project org: path.org - text: Show who role assignment {assignment} applies to in org {org} project {project}. slots: assignment: path.role-assignment org: path.org project: path.project method: generated generated: '2026-09-26' - target: $.paths['/v1/orgs/{org}/projects/{project}/role-assignments/{role-assignment}'].delete update: x-apievangelist-phrasing: intent: Remove a project role assignment effect: destructive questions: - How do I revoke someone's role on a project? - Can I delete a single project role assignment by ID? instructions: - text: Delete role assignment {assignment} from project {project} in org {org}. slots: assignment: path.role-assignment project: path.project org: path.org - text: Revoke project {project} role assignment {assignment} in org {org}. slots: project: path.project assignment: path.role-assignment org: path.org method: generated generated: '2026-09-26'