swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector OAuth2PermissionGrant_delete API schemes: - https tags: - name: OAuth2PermissionGrant_delete paths: /{tenantID}/oauth2PermissionGrants/{objectId}: delete: tags: - OAuth2PermissionGrant_delete operationId: microsoftAzureOauth2permissiongrantDelete description: Delete a OAuth2 permission grant for the relevant resource Ids of an app. parameters: - name: objectId in: path required: true type: string description: The object ID of a permission grant. - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/tenantIDInPath' responses: '204': description: No Content default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/GraphError' summary: Microsoft Azure Delete Tenantid Oauth2permissiongrants Objectid definitions: ErrorMessage: type: object properties: value: type: string x-ms-client-name: message description: Error message value. description: Active Directory error message. GraphError: type: object properties: odata.error: type: object x-ms-client-flatten: true $ref: '#/definitions/OdataError' description: A Graph API error. description: Active Directory error information. OdataError: type: object properties: code: type: string description: Error code. message: type: object x-ms-client-flatten: true $ref: '#/definitions/ErrorMessage' description: Error Message. description: Active Directory OData error information. parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client API version. tenantIDInPath: name: tenantID in: path required: true type: string description: The tenant ID. x-ms-parameter-location: client x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'