APIs.io Engineering Platform AWS Identity and Access Management — #Action=DeleteRolePolicy

APIs.io Engineering Platform AWS Identity and Access Management — #Action=DeleteRolePolicy. 2 operations. Lead operation: #Action=DeleteRolePolicy. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering Platform#Action=DeleteRolePolicy

What You Can Do

GET
Getdeleterolepolicy

Deletes the specified inline policy that is embedded in the specified IAM role.

A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about

/v1/action-deleterolepolicy
POST
Postdeleterolepolicy

Deletes the specified inline policy that is embedded in the specified IAM role.

A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about

/v1/action-deleterolepolicy

MCP Tools

p-deletes-specified-inline-policy-that

Deletes the specified inline policy that is embedded in the specified IAM role.

A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about

read-only idempotent
p-deletes-specified-inline-policy-that-2

Deletes the specified inline policy that is embedded in the specified IAM role.

A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about

Capability Spec

aws-iam-action-deleterolepolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=DeleteRolePolicy'
  description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=DeleteRolePolicy. 2 operations.
    Lead operation: #Action=DeleteRolePolicy. Self-contained Naftiko capability covering one Engineering Platform business
    surface.'
  tags:
  - Engineering Platform
  - '#Action=DeleteRolePolicy'
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-iam-action-deleterolepolicy
    baseUri: https://iam.amazonaws.com
    description: 'APIs.io Engineering Platform AWS Identity and Access Management — #Action=DeleteRolePolicy business capability.
      Self-contained, no shared references.'
    resources:
    - name: '#Action=DeleteRolePolicy'
      path: /#Action=DeleteRolePolicy
      operations:
      - name: getdeleterolepolicy
        method: GET
        description: '<p>Deletes the specified inline policy that is embedded in the specified IAM role.</p> <p>A role can
          also have managed policies attached to it. To detach a managed policy from a role, use <a>DetachRolePolicy</a>.
          For more information about '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: RoleName
          in: query
          type: string
          description: <p>The name (friendly name, not ARN) identifying the role that the policy is embedded in.</p> <p>This
            parameter allows (through its <a href="http://wikipedia.or
          required: true
        - name: PolicyName
          in: query
          type: string
          description: <p>The name of the inline policy to delete from the specified IAM role.</p> <p>This parameter allows
            (through its <a href="http://wikipedia.org/wiki/regex">rege
          required: true
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
      - name: postdeleterolepolicy
        method: POST
        description: '<p>Deletes the specified inline policy that is embedded in the specified IAM role.</p> <p>A role can
          also have managed policies attached to it. To detach a managed policy from a role, use <a>DetachRolePolicy</a>.
          For more information about '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-iam-action-deleterolepolicy-rest
    port: 8080
    description: 'REST adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=DeleteRolePolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/action-deleterolepolicy
      name: action-deleterolepolicy
      description: 'REST surface for #Action=DeleteRolePolicy.'
      operations:
      - method: GET
        name: getdeleterolepolicy
        description: '<p>Deletes the specified inline policy that is embedded in the specified IAM role.</p> <p>A role can
          also have managed policies attached to it. To detach a managed policy from a role, use <a>DetachRolePolicy</a>.
          For more information about '
        call: aws-iam-action-deleterolepolicy.getdeleterolepolicy
        with:
          RoleName: rest.RoleName
          PolicyName: rest.PolicyName
          Action: rest.Action
          Version: rest.Version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postdeleterolepolicy
        description: '<p>Deletes the specified inline policy that is embedded in the specified IAM role.</p> <p>A role can
          also have managed policies attached to it. To detach a managed policy from a role, use <a>DetachRolePolicy</a>.
          For more information about '
        call: aws-iam-action-deleterolepolicy.postdeleterolepolicy
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-iam-action-deleterolepolicy-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for APIs.io Engineering Platform AWS Identity and Access Management — #Action=DeleteRolePolicy.
      One tool per consumed operation, routed inline through this capability''s consumes block.'
    tools:
    - name: p-deletes-specified-inline-policy-that
      description: '<p>Deletes the specified inline policy that is embedded in the specified IAM role.</p> <p>A role can also
        have managed policies attached to it. To detach a managed policy from a role, use <a>DetachRolePolicy</a>. For more
        information about '
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-iam-action-deleterolepolicy.getdeleterolepolicy
      with:
        RoleName: tools.RoleName
        PolicyName: tools.PolicyName
        Action: tools.Action
        Version: tools.Version
      outputParameters:
      - type: object
        mapping: $.
    - name: p-deletes-specified-inline-policy-that-2
      description: '<p>Deletes the specified inline policy that is embedded in the specified IAM role.</p> <p>A role can also
        have managed policies attached to it. To detach a managed policy from a role, use <a>DetachRolePolicy</a>. For more
        information about '
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-iam-action-deleterolepolicy.postdeleterolepolicy
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.