Skip to main content
DELETE
/
users
/
{userId}
Remove user
curl --request DELETE \
  --url https://vehicle.api.smartcar.com/v3/users/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "errors": [
    {
      "status": "400",
      "type": "VALIDATION",
      "code": "BAD_REQUEST",
      "title": "Bad Request",
      "detail": "The request could not be understood by the server due to malformed syntax.",
      "links": {
        "about": "https://smartcar.com/docs/errors/api-errors/v3/validation-errors"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

The Authorization header must be provided with a valid bearer token. Example: Authorization: Bearer {token}

Path Parameters

userId
string
required

The unique identifier for the user

Response

No Content - User deleted successfully