Manage contact delegates

This guide covers how to create, list, and delete contact delegates.

Create a delegate

To create a delegate for a user, create a POST request containing the email address of the delegator:

  POST 
  
 https 
 : 
 // 
 admin 
 . 
 googleapis 
 . 
 com 
 / 
 admin 
 / 
 contacts 
 / 
 v1 
 / 
 users 
 / 
 delegator 
 @example 
 . 
 com 
 / 
 delegates 
 

In the request body, provide the email address for the delegate:

{ “email”: “ delegate @example.com” }

A successful response returns an HTTP 200 status code and the new delegate's email:

{ “email”: “ delegate @example.com” }

List delegates

To list delegates for a user's contacts, create a GET request containing the email address of that user:

  GET 
  
 https 
 : 
 // 
 admin 
 . 
 googleapis 
 . 
 com 
 / 
 admin 
 / 
 contacts 
 / 
 v1 
 / 
 users 
 / 
 delegator 
 @example 
 . 
 com 
 / 
 delegates 
 

A successful response returns an HTTP 200 status code and a list of delegate emails:

{ “email”: “ delegate1 @example.com” }

Delete a delegate

To delete a delegate of a user's contacts, create a DELETE request containing the email address of both the delegaor and delegate:

  DELETE 
  
 https 
 : 
 // 
 admin 
 . 
 googleapis 
 . 
 com 
 / 
 admin 
 / 
 contacts 
 / 
 v1 
 / 
 users 
 / 
 delegator 
 @example 
 . 
 com 
 / 
 delegates 
 / 
 delegate 
 @example 
 . 
 com 
 

A successful response returns an HTTP 200 status code.

Design a Mobile Site
View Site in Mobile | Classic
Share by: