Method: Phrase::CommentsApi#comment_delete

Defined in:
lib/phrase/api/comments_api.rb

#comment_delete(project_id, key_id, id, opts = {}) ⇒ nil

Delete a comment Delete an existing comment.

Parameters:

  • project_id (String)

    Project ID

  • key_id (String)

    Translation Key ID

  • id (String)

    ID

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :x_phrase_app_otp (String)

    Two-Factor-Authentication token (optional)

  • :branch (String)

    specify the branch to use

Returns:

  • (nil)


99
100
101
102
# File 'lib/phrase/api/comments_api.rb', line 99

def comment_delete(project_id, key_id, id, opts = {})
  data, _status_code, _headers = comment_delete_with_http_info(project_id, key_id, id, opts)
  data
end