Google Business ProfileGoogle Business ProfileSEO/AEO

Change an admin's role on your business listing

google-business-profile.x.accountmanagement-mybusinessaccountmanagement-locations-admins-patch

admins.patch — Updates the Admin for the specified location. Only the AdminRole of the Admin can be updated.

Price
freeAu prix du fournisseur
Success rate
—Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
Latency p50
——
Last verified
—Not verified yet
PATCHhttps://toolswitch.dev/v1/tools/google-business-profile.x.accountmanagement-mybusinessaccountmanagement-locations-admins-patchPreview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

ParamètreTypeObligatoireDescriptionExemple
Paramètres de chemin
namechaîneObligatoireImmutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.
Paramètres de requête
updateMaskchaîneFacultatifRequired. The specific fields that should be updated. The only editable field is role.
  • Paramètres de chemin
  • namechaîneObligatoire

    Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin creation.

  • Paramètres de requête
  • updateMaskchaîneFacultatif

    Required. The specific fields that should be updated. The only editable field is role.

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X PATCH 'https://toolswitch.dev/v1/tools/google-business-profile.x.accountmanagement-mybusinessaccountmanagement-locations-admins-patch' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.