delete https://{hostname}/identity-management/v3/api-clients/self
This operation permanently deletes your API client and breaks any API connections with the client. Before deleting your client, make sure there aren't any API integrations or scripts using it.