Skip to main content
DELETE
/
v1
/
user
/
{user_id}
Delete a user
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.getpalm.com/v1/user/{user_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Authorizations

Authorization
string
header
required

Enter your API key in the format: sk_test_xxxxx or sk_live_xxxxx

Path Parameters

user_id
string
required

User ID

Example:

"palm_usr_1a2b3c4d5e6f7g8h"

Response

User deleted successfully (no content returned)