Hello everyone,
After some time in this community, I asking my first question.
This may eventually finish as a support case but was wondering if any have encountered the same before and get around of it.
I moving more and more previous SOAP integration to use REST but problem is that I always receive a:
HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
Date: Mon, 23 Oct 2017 07:56:35 GMT
Content-Type: application/xml
Content-Length: 71
This operation requires Function Access for 'admin' equal to 'Modify'.
when I try to delete a existing valid access_key what ever level permissions the user calling the rest API have and of course the key remain valid until expiration.
My test scenario is using SOAPUI and basic authentication (with full admin access type) to get the access key and just call a new operation to delete right after:
Note that I have the same error when trying to use PUT to modify the expiration date.
Must not be the fist one encountering this issue so looking forward for your input.
/J
Hi Jerome,
I understand this is confusing but, the access key is not actually the id of the row. In this situation the id of the row is:
405339
You can see this on the first line of the login response. When you use that as the id and the access key as the X-AccessKey you should be able to delete it and it should respond with a 204. Please let me know if that works for you. Also notice if you call it again after 204 it returns 500 which you will see in the logs you have an invalid X-AccessKey.