You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I created key on server with client.create_key(key_id='123', name=name, data_limit=data_limit_gb)
After that I used some trafic by this key - and have used_bytes = X in key
After that I delete this key with client.delete_key('123')
And after that I created this key again with client.create_key(key_id='123', name=name, data_limit=data_limit_gb)
And I have a problem: new key with id equal old id - '123' - have used_bytes not 0 - it have X used bytes.
The text was updated successfully, but these errors were encountered:
new_key = client.create_key(key_id='123', name=name, data_limit=data_limit_gb)
new_key.used_bytes = 0
BUT
KEY = client.get_key('123')
KEY.used_bytes = X (can be some gigabytes - what was used by old key, before delete key)
Hello!
I created key on server with client.create_key(key_id='123', name=name, data_limit=data_limit_gb)
After that I used some trafic by this key - and have used_bytes = X in key
After that I delete this key with client.delete_key('123')
And after that I created this key again with client.create_key(key_id='123', name=name, data_limit=data_limit_gb)
And I have a problem: new key with id equal old id - '123' - have used_bytes not 0 - it have X used bytes.
The text was updated successfully, but these errors were encountered: