Method: Appwrite::Functions#delete
- Defined in:
- lib/appwrite/services/functions.rb
#delete(function_id:) ⇒ Object
Delete a function by its unique ID.
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 |
# File 'lib/appwrite/services/functions.rb', line 198 def delete(function_id:) path = '/functions/{functionId}' .gsub('{functionId}', function_id) if function_id.nil? raise Appwrite::Exception.new('Missing required parameter: "functionId"') end params = { } headers = { "content-type": 'application/json', } @client.call( method: 'DELETE', path: path, headers: headers, params: params, ) end |