Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) registry_user = client.cloud.registries.users.update( user_id=0, project_id=0, region_id=0, registry_id=0, duration=14, ) print(registry_user.id)
{ "created_at": "2024-06-18T09:36:53.335000Z", "duration": 14, "expires_at": "2024-06-18T09:36:53.335000Z", "id": 1, "name": "user1", "read_only": false }
Update the configuration of a specific registry user.
-1 <= x <= 365
Was this page helpful?