API token key name
Moderators: Developer, Contributor
-
- Posts: 1
- Joined: 20 Dec 2022, 13:55
API token key name
I have a problem with GET request at mantis api. The token and web URL are correct. But it seems that authentication token key name is wrong. In figure you can see "Aunthentication: <mykey>". Is it possible to change "Aunthentication" to something else? Or is there a way to find out which name for authentication token is correct?
- Attachments
-
- api_token.png (31.99 KiB) Viewed 1909 times
Re: API token key name
Did you check the token in Mantis, is it still valid?
You always can create another token.
You always can create another token.
-
- Posts: 1
- Joined: 20 Dec 2022, 13:55
Re: API token key name
The token value is valid but the token name is invalid meaning in example:
token_name: token_value
token_value is ok
but token_name is invalid
if token_name would be ok and token_value would be not ok than error message 403 would be returned
Last edited by AnonymousDev on 22 Dec 2022, 08:13, edited 1 time in total.
Re: API token key name
So revoke the current token and create a new one (to be done in Mantis under My Account). Then you can set the name again to whatever you like.