openapi: 3.2.0 info: contact: email: support@akeyless.io name: Akeyless url: http://akeyless.io description: The purpose of this application is to provide access to Akeyless API. title: Akeyless Delete Role Rule API version: '2.0' servers: - url: https://api.akeyless.io/ tags: - name: Delete Role Rule paths: /delete-role-rule: post: operationId: deleteRoleRule requestBody: content: application/json: schema: $ref: '#/components/schemas/deleteRoleRule' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/deleteRoleRuleOutput' description: deleteRoleRuleResponse wraps response body. default: content: application/json: schema: $ref: '#/components/schemas/JSONError' description: 'errorResponse wraps any error to return it as a JSON object with one "error" field.' tags: - Delete Role Rule x-codegen-request-body-name: body summary: Delete role rule x-summary-source: derived components: schemas: JSONError: properties: error: type: string x-go-name: Err title: JSONError wraps an error with JSON object. type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client deleteRoleRuleOutput: example: result: result deleted: true properties: deleted: type: boolean x-go-name: Deleted result: type: string x-go-name: Result type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands deleteRoleRule: properties: json: description: Set output format to JSON type: boolean x-go-name: Json path: description: The path the rule refers to type: string x-go-name: Path role-name: description: The role name to be updated type: string x-go-name: RoleName rule-type: default: item-rule description: item-rule, role-rule, auth-method-rule, search-rule, reports-rule, gw-reports-rule or sra-reports-rule type: string x-go-name: RuleType token: description: Authentication token (see `/auth` and `/configure`) type: string x-go-name: Profile uid-token: description: The universal identity token, Required only for universal_identity authentication type: string x-go-name: UIDToken required: - path - role-name title: deleteRoleRule is a command that deletes a rule from a role. type: object x-go-package: akeyless.io/akeyless-main-repo/go/src/client/commands