https://developers.google.com/admin-sdk/directory/reference/rest/v1/members
https://developers.google.com/admin-sdk/directory/reference/rest/v1/members (click for image)
It doesn't matter what I set "type" field to, in the request. It always sets it to "USER" in the response.
This is the request (click for image):
{ "email": "abcd@xyz.com", "type": "EXTERNAL" }
This is the response (click for image):
{ "kind": "admin#directory#member", "etag": ""9zPsLeP9ycRovNIzMe3UcREkFqt8n_JNHD4izBpxyt4/BY6DTvfyl-lbLpaBG_gjKb9l_X0"", "id": "110243826665778914981", "email": "abcd@xyz.com", "role": "MEMBER", "type": "USER", "status": "ACTIVE" }