question

ivaylo-donchev avatar image
ivaylo-donchev asked

API for revoking personal access token returns HTTP 403

Hi,

We're using the Victron API for M2M backend communication and we use the "personal access token" approach for authentication.

Following the 8.4.3 point of the documentation https://docs.victronenergy.com/vrmapi/overview.html#revoke-a-personal-access-token, a GET request is required for the API to revoke the tokens.


The headers we send to the revoke API at the:

{'X-Authorization': 'Token ...'}

The URL is:

https://vrmapi.victronenergy.com/v2/users/.../accesstokens/.../revoke


The problem is that the API returns

HTTP 403 Forbidden url for...

Could someone help us?


Cheers,

Ivaylo Donchev

VRMapi
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
mvader (Victron Energy) avatar image
mvader (Victron Energy) answered ·

Hi Ivaylo Donchev, I’ve informed the developers. We’ll look into this; thank you for the report.

Matthijs

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ivaylo-donchev avatar image ivaylo-donchev commented ·
0 Likes 0 ·
ivaylo-donchev avatar image ivaylo-donchev ivaylo-donchev commented ·
Hi @mvader (Victron Energy)

Is there any change on that issue ? :)


Cheers,

Ivaylo Donchev

0 Likes 0 ·
Show more comments
Alex Imbrea (Victron Energy Staff) avatar image
Alex Imbrea (Victron Energy Staff) answered ·

@Ivaylo Donchev a fix for revoking the personal access token was deployed today. It should work as expected now.

Thank you for reporting!

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

ivaylo-donchev avatar image ivaylo-donchev commented ·
That're great news!

Thank you @Alex Imbrea (Victron Energy Staff) !

0 Likes 0 ·

Related Resources