Hi ,
I have successfully created a user which uses Basic-Auth using the Documentation.
My Request:
POST {{base-url}}/tyk/keys/my-user
x-tyk-authorization: {{token}}
HTTP/2 200 OK
{
"key": "",
"status": "ok",
"action": "added",
"key_hash": "<KEY_HASH>"
}
When trying to delete a User I get :
{
"status": "error",
"message": "There is no such key found"
}
Request sent to delete a user:
DELETE {{base-url}}/tyk/keys/<KEY_HASH>
x-tyk-authorization: {{token}}
I have also tried using the username instead of using the key-hask but I get the same error message as above.
What is is correct way to delete a user via API?
Thank you !