---
title: "POST /v1/{+parent}/commands"
method: POST
path: "/v1/{+parent}/commands"
tags: ["customers"]
---

# POST /v1/{+parent}/commands

`POST /v1/{+parent}/commands`

Creates a Chrome browser profile remote command.

## Path parameters

- `parent` string, required

## Request body

- GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand — A representation of a remote command for a Chrome browser profile.
  - `issueTime` string, google-datetime — Output only. Timestamp of the issurance of the remote command.
  - `name` string — Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}
  - `commandResult` GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult — Result of the execution of a command.
    - `resultCode` string — Output only. Result code that indicates the type of error or success of the command.
    - `resultType` 'COMMAND_RESULT_TYPE_UNSPECIFIED' | 'IGNORED' | 'FAILURE' | 'SUCCESS' — Output only. Result type of the remote command.
    - `clientExecutionTime` string, google-datetime — Output only. Timestamp of the client execution of the remote command.
  - `payload` object — Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type.
  - `commandType` string — Required. Type of the remote command. The only supported command_type is "clearBrowsingData".
  - `commandState` 'COMMAND_STATE_UNSPECIFIED' | 'PENDING' | 'EXPIRED' | 'EXECUTED_BY_CLIENT' — Output only. State of the remote command.
  - `validDuration` string, google-duration — Output only. Valid duration of the remote command.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/chromemanagement.md) · [All operations](https://skmtc.net/google/apis/chromemanagement/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/chromemanagement/versions/a7d0faafd2a7/schema)
