Skip to content

Instantly share code, notes, and snippets.

@isaumya
Created February 27, 2016 14:44
Show Gist options
  • Save isaumya/1fb35ed40687e99e51e9 to your computer and use it in GitHub Desktop.
Save isaumya/1fb35ed40687e99e51e9 to your computer and use it in GitHub Desktop.
GApps Primary Domain Change Response
Request
PUT https://www.googleapis.com/admin/directory/v1/customers/my_customer?fields=customerDomain&key={YOUR_API_KEY}
{
"customerDomain": "extraconfort.com"
}
Response
400 Bad Request
Show headers -
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "Invalid Input"
}
],
"code": 400,
"message": "Invalid Input"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment