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
freeZum Anbieterpreis
Success rate
—Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
Latency p50
——
Last verified
—Not verified yet
PATCHhttps://toolswitch.dev/v1/tools/google-business-profile.x.accountmanagement-mybusinessaccountmanagement-locations-admins-patchPreview
Try onlineDemnächstProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameter

ParameterTypErforderlichBeschreibungBeispiel
Pfadparameter
nameZeichenketteErforderlichImmutable. 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.
Abfrageparameter
updateMaskZeichenketteOptionalRequired. The specific fields that should be updated. The only editable field is role.
  • Pfadparameter
  • nameZeichenketteErforderlich

    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.

  • Abfrageparameter
  • updateMaskZeichenketteOptional

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

Codebeispiele

Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.

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

Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit free einschließlich Servicegebühr abgerechnet.