List users
Users of a property with their permission: owner, full or restricted.
GET https://cotlet.dev/api/v1/google-search-console/users
read
Lists the people on the Users and permissions screen of a property with their permission. Owners are verified or delegated; full users have view rights to all data and can take some actions; restricted users have view rights on most data. The response includes the count of non-owner users, because Google allows at most 100 per property.
Parameters
| Name | Type | Description |
|---|---|---|
| property string required | string | Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property. |
Request
curl "https://cotlet.dev/api/v1/google-search-console/users?property=property" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("google-search-console", "list_users", {"property":"property"}) const result = await cotlet.call('google-search-console', 'list_users', {"property":"property"}); cotlet call google-search-console list_users --data '{"property":"property"}' Example response
{
"property": "sc-domain:example.com",
"non_owner_users": 1,
"users": [
{
"email": "anna@example.com",
"permission": "owner",
"owner_type": "verified"
},
{
"email": "seo@agency.example",
"permission": "full"
}
]
}