openapi: 3.1.0 info: title: Google Books About Deletes API description: API for retrieving Bookshelf and Volume resources from Google Books version: 1.0.0 contact: name: Google Books API url: https://developers.google.com/books servers: - url: https://www.googleapis.com/books/v1 description: Google Books API v1 tags: - name: Deletes description: Operations related to Deletes paths: /gmail/v1/users/{userId}/drafts/{id}: delete: tags: - Deletes summary: Google Delete Drafts description: Immediately and permanently deletes the specified draft. Does not simply trash it. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: id in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/messages/batchDelete: post: tags: - Deletes summary: Google Batch Delete description: Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all. parameters: - name: Content-Type in: header schema: type: string example: application/json - name: userId in: path schema: type: string required: true description: '(Required) ' example: '{{userID}}' requestBody: content: application/json: schema: $ref: '#/components/schemas/UsersMessagesBatchDeletePostRequest' responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/messages/{id}: delete: tags: - Deletes summary: Google Delete Messages description: Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer `messages.trash` instead. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: id in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/labels/{id}: delete: tags: - Deletes summary: Google Delete Labels description: Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: id in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/threads/{id}: delete: tags: - Deletes summary: Google Delete Threads description: Immediately and permanently deletes the specified thread. Any messages that belong to the thread are also deleted. This operation cannot be undone. Prefer `threads.trash` instead. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: id in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}: delete: tags: - Deletes summary: Google Delete Send As SMIME INfo description: Deletes the specified S/MIME config for the specified send-as alias. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: sendAsEmail in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: id in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}: delete: tags: - Deletes summary: Google Delete Send As description: Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: sendAsEmail in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}: delete: tags: - Deletes summary: Google Delete CSE Idenities description: Deletes a client-side encryption identity. The authenticated user can no longer use the identity to send encrypted messages. You cannot restore the identity after you delete it. Instead, use the CreateCseIdentity method to create another identity with the same configuration. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: cseEmailAddress in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/settings/filters/{id}: delete: tags: - Deletes summary: Google Delete Filters description: Immediately and permanently deletes the specified filter. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: id in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}: delete: tags: - Deletes summary: Google Delete Forwarding Addresses description: Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: forwardingEmail in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}: delete: tags: - Deletes summary: Google Delete Delegates description: Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority. parameters: - name: userId in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i - name: delegateEmail in: path schema: type: string required: true description: '(Required) ' example: incididunt labore i responses: '204': description: No Content content: text/plain: schema: type: string x-api-evangelist-processing: ChooseTags: true x-microcks-operation: delay: 100 dispatcher: FALLBACK dispatcherRules: SuccessExample components: schemas: UsersMessagesBatchDeletePostRequest: description: UsersMessagesBatchDeletePostRequest schema type: object example: ids: - labore conseq - sit securitySchemes: OAuth2: type: oauth2 description: OAuth 2.0 authentication for Google Books API flows: authorizationCode: authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth tokenUrl: https://oauth2.googleapis.com/token scopes: https://www.googleapis.com/auth/books: Manage your Google Books library