Skip to content

Creates a new Google Service Account with the provided details

Request

Headers
Authorizationstringrequired

Bearer token for authorization

Bodyapplication/jsonrequired
tenant_idstring
google_enterprise_idstring
namestring
key_idstring
typeinteger
is_setboolean
is_activeboolean
datastring
public_datastring
created_atstring, (date-time)
updated_atstring, (date-time)
cURL
curl -i -X POST \
  https://develop-api.esper.io/_mock/openapi/v2/emm/accounts/ \
  -H 'Authorization: string' \
  -H 'Content-Type: application/json' \
  -d '{
    "tenant_id": "string",
    "google_enterprise_id": "string",
    "name": "string",
    "key_id": "string",
    "type": 0,
    "is_set": true,
    "is_active": true,
    "data": "string",
    "public_data": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }'

Responses

Successful Response

Bodyapplication/json
tenant_idstring
google_enterprise_idstring
namestring
key_idstring
typeinteger
is_setboolean
is_activeboolean
datastring
public_datastring
created_atstring, (date-time)
updated_atstring, (date-time)
Response
{ "tenant_id": "string", "google_enterprise_id": "string", "name": "string", "key_id": "string", "type": 0, "is_set": true, "is_active": true, "data": "string", "public_data": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }