My Business
1.9K members online now
1.9K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

Unable to remove admins from location

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We have a number of locations and want to remove ourselves as admins from one of them.

 

 

So we used 

DELETE /v3/accounts/<our account>/locations/<our location>/admins/<our account> 

 

but keep getting a 500 error:

 

HTTP/1.1 500 Internal Server Error
Alternate-protocol: 443:quic
Content-length: 109
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
Transfer-encoding: chunked
Vary: Origin, X-Origin, Referer
Server: ESF
-content-encoding: gzip
Cache-control: private
Date: Fri, 15 Jul 2016 11:25:59 GMT
X-frame-options: SAMEORIGIN
Alt-svc: quic=":443"; ma=2592000; v="36,35,34,33,32,31,30,29,28,27,26,25"
Content-type: application/json; charset=UTF-8
{
 
"error": {
   
"status": "INTERNAL",
   
"message": "Internal error encountered.",
   
"code": 500
 
}
}

 

It is not a very helpful error message and we don't know what we are doing wrong. Can you advise pls?

 

Many thanks

 

 

 

2 Expert replyverified_user

Re: Unable to remove admins from location

Google Employee
# 2
Google Employee

Hi @Daniel M,

 

You can’t remove yourself as an admin from a location if you are the owner of the location.

 

The DELETE request only removes the specified admin as a manager of the specified location. Please transfer ownership of a location and automatically become a manager of the location. Thereafter, send a DELETE request to successfully remove yourself as an admin from a location.

 

Thanks,

The Google My Business API team

Re: Unable to remove admins from location

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Yash,

So this is not possible via api?

Richard (a colleague of Daniel's)

Re: Unable to remove admins from location

Google Employee
# 4
Google Employee

Hi @Richard V,

 

You can remove yourself as an admin from the specified account or location as long as you are not the owner of the account or location. If you are the the owner of the account or location, I suggest you transfer ownership of a business account or a listing in the UI before removing yourself as the manager of the business account or location through the API.

 

For more information, please check out the add and remove listing managers, owners and managers of business accounts, and owners and managers of listings articles in the Google My Business Help Center.

 

Thanks,

Terry

Re: Unable to remove admins from location

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
So "no" then.