Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 509 Bytes

File metadata and controls

31 lines (23 loc) · 509 Bytes

logout

logout

Logs out the user (removes any cached API key)

Examples

{% tabs %} {% tab title="HTTP" %}

# HTTP request:
# Note: there is no HTTP request corresponding to 'paperspace logout'.

{% endtab %}

{% tab title="Node.js" %}

paperspace.logout.user(function(err, res) {
  // handle error or result
});

{% endtab %} {% endtabs %}

Parameters:

Name Type Description
cb function Node-style error-first callback function