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

Parameters: list_users
NameTypeDescription
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
curl "https://cotlet.dev/api/v1/google-search-console/users?property=property" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("google-search-console", "list_users", {"property":"property"})
Node.js
const result = await cotlet.call('google-search-console', 'list_users', {"property":"property"});
CLI
cotlet call google-search-console list_users --data '{"property":"property"}'

Example response

JSON

{
  "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"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.