GET
/
cloud
/
v1
/
registries
/
{project_id}
/
{region_id}
/
{registry_id}
/
users
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
registry_user_list = client.cloud.registries.users.list(
    registry_id=0,
    project_id=0,
    region_id=0,
)
print(registry_user_list.count)
{
  "count": 1,
  "results": [
    {
      "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
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

registry_id
integer
required

Registry ID

Response

200
application/json

List of users

The response is of type object.