Skip to main content
PUT
/
auth
/
user
/
{id}
/
deactivate
Deactivate account
curl --request PUT \
  --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/auth/user/{id}/deactivate \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://www.commercengine.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Access token

Path Parameters

id
string
required

user ID

Response

OK

message
string
required

A descriptive message confirming the success or failure of the deactivate account operation.

success
boolean
required

Indicates whether the request was successful or failure (true for success, false for failure).