Skip to main content
DELETE
/
learnings
/
users
/
{user_id}
Delete Learning User
curl --request DELETE \
  --url https://api.example.com/learnings/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "Unauthenticated access",
  "error_code": "UNAUTHENTICATED"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

The user whose learnings should be deleted

Query Parameters

learning_type
string | null

Restrict deletion to a single learning type; omit to delete all of the user's learnings

db_id
string | null

Database ID to use

table
string | null

The database table to use (requires db_id)

Response

User learnings deleted successfully