Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB 2.0: There is a missing "DELETE" method for "/documents/templates/{templateID}" [area/api] #12863

Closed
bednar opened this issue Mar 25, 2019 · 1 comment
Assignees
Labels

Comments

@bednar
Copy link
Contributor

bednar commented Mar 25, 2019

The DELETE method for /documents/templates/{templateID} should be defined as:

delete:
      tags:
        - Templates
      summary: Delete a template
      parameters:
        - $ref: '#/components/parameters/TraceSpan'
        - in: path
          name: templateID
          schema:
            type: string
          required: true
          description: ID of template to delete
      responses:
        '204':
          description: delete has been accepted
        '404':
          description: template not found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        default:
          description: unexpected error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"

introduced by #12382, cc @desa, @goller

@kelwang
Copy link
Contributor

kelwang commented Mar 25, 2019

dup with #12824,

@kelwang kelwang closed this as completed Mar 25, 2019
@kelwang kelwang self-assigned this Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants