Cannot delete JWT app - Internal Server Error 500

@tommy this still isn’t working. i am logged in as the account owner. i have regenerated new IM chat history token as well as the api secret. in code i get a "StatusCodeError: 400 - {\"code\":200,\"message\":\"Account does not enabled REST API.\"}",

in the zoom api reference docs using the jwt as Authorization: Bearer <insert my jwt token>
i get

{
  "code": 124,
  "message": "The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256"
}