Method: networks.contacts.create

  • This page details the API for creating a Contact object.

  • The API uses a POST request to https://admanager.googleapis.com/v1/{parent}/contacts.

  • A required parent path parameter specifies where the Contact will be created.

  • The request and response bodies contain instances of the Contact object.

  • Authorization requires the https://www.googleapis.com/auth/admanager OAuth scope.

API to create a Contact object.

HTTP request

POST https://admanager.googleapis.com/v1/{parent}/contacts

Path parameters

Parameters
parent

string

Required. The parent resource where this Contact will be created. Format: networks/{networkCode}

Request body

The request body contains an instance of Contact.

Response body

If successful, the response body contains a newly created instance of Contact.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.