Generated by API Evangelist
Written by API Evangelist tooling for Harness's API. It is a proposal applied on top of the contract, not a document Harness publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Harness Org Role Assignments API
version: 1.0.0
extends: openapi/harness-org-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}/role-assignments'].get
update:
x-apievangelist-phrasing:
intent: List role assignments in an organization
effect: read
questions:
- Who has which roles in my organization?
- Can I page through org-level role assignments?
instructions:
- text: List role assignments in org {org}.
slots:
org: path.org
- text: Show org {org} role assignments, page {page}.
slots:
org: path.org
page: query.page
method: generated
generated: '2026-09-26'
- target: $.paths['/v1/orgs/{org}/role-assignments'].post
update:
x-apievangelist-phrasing:
intent: Assign a role in an organization
effect: write
questions:
- How do I grant a user a role in an organization?
- What resource group does an org role assignment need?
instructions:
- text: Assign role {role} on resource group {resource_group} to principal {principal} in org {org} as assignment {identifier}.
slots:
role: requestBody.role
resource_group: requestBody.resource_group
principal: requestBody.principal
org: path.org
identifier: requestBody.identifier
- text: 'Grant {principal} role {role} over {resource_group} in org {org}, assignment {identifier}, disabled: {disabled}.'
slots:
principal: requestBody.principal
role: requestBody.role
resource_group: requestBody.resource_group
org: path.org
identifier: requestBody.identifier
disabled: requestBody.disabled
method: generated
generated: '2026-09-26'
- target: $.paths['/v1/orgs/{org}/role-assignments/{role-assignment}'].get
update:
x-apievangelist-phrasing:
intent: Get an organization role assignment
effect: read
questions:
- What role and principal does a specific assignment grant?
- Can I look up one org role assignment by its identifier?
instructions:
- text: Show role assignment {role_assignment} in org {org}.
slots:
role_assignment: path.role-assignment
org: path.org
- text: Get org {org} role assignment {role_assignment}.
slots:
org: path.org
role_assignment: path.role-assignment
method: generated
generated: '2026-09-26'
- target: $.paths['/v1/orgs/{org}/role-assignments/{role-assignment}'].delete
update:
x-apievangelist-phrasing:
intent: Delete an organization role assignment
effect: destructive
questions:
- How do I revoke a role from someone in an organization?
- Is removing an org role assignment immediate?
instructions:
- text: Delete role assignment {role_assignment} in org {org}.
slots:
role_assignment: path.role-assignment
org: path.org
- text: Revoke org {org} role assignment {role_assignment}.
slots:
org: path.org
role_assignment: path.role-assignment
method: generated
generated: '2026-09-26'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.