mirror.accounts.insert

POST {{baseUrl}}/accounts/:userToken/:accountType/:accountName?alt=json&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=true&quotaUser=<string>&userIp=<string>

Inserts a new account for a user

Request Params

KeyDatatypeRequiredDescription
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintbooleanReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

Request Body

{"authTokens"=>[{"authToken"=>"<string>", "type"=>"<string>"}, {"authToken"=>"<string>", "type"=>"<string>"}], "features"=>["<string>", "<string>"], "password"=>"<string>", "userData"=>[{"key"=>"<string>", "value"=>"<string>"}, {"key"=>"<string>", "value"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

&quot;&quot;