---
title: "POST /v1/customers/{customersId}/profiles/{profilesId}/commands"
method: POST
path: "/v1/customers/{customersId}/profiles/{profilesId}/commands"
tags: ["customers"]
---

# POST /v1/customers/{customersId}/profiles/{profilesId}/commands

`POST /v1/customers/{customersId}/profiles/{profilesId}/commands`

## Request

- Base URL: `https://chromemanagement.googleapis.com`
- URL: `https://chromemanagement.googleapis.com/v1/customers/{customersId}/profiles/{profilesId}/commands`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/chrome.management.profiles`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/chrome.management.profiles`

Creates a Chrome browser profile remote command.

## Path parameters

- `customersId` string, required
- `profilesId` string, required

## Request body

- GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand: A representation of a remote command for a Chrome browser profile.
  - `commandResult` GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult: Result of the execution of a command.
    - `clientExecutionTime` string, google-datetime: Output only. Timestamp of the client execution of the remote 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.
  - `commandState` 'COMMAND_STATE_UNSPECIFIED' | 'PENDING' | 'EXPIRED' | 'EXECUTED_BY_CLIENT': Output only. State of the remote command.
  - `commandType` string: Required. Type of the remote command. Supported commands: "clearBrowsingData" and "extensionUpdateCheck".
  - `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}
  - `payload` object: Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type. The payload for "extensionUpdateCheck" should be empty.
  - `validDuration` string, google-duration: Output only. Valid duration of the remote command.

## Response `200`

Successful response

- GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand: A representation of a remote command for a Chrome browser profile.
  - `commandResult` GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult: Result of the execution of a command.
    - `clientExecutionTime` string, google-datetime: Output only. Timestamp of the client execution of the remote 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.
  - `commandState` 'COMMAND_STATE_UNSPECIFIED' | 'PENDING' | 'EXPIRED' | 'EXECUTED_BY_CLIENT': Output only. State of the remote command.
  - `commandType` string: Required. Type of the remote command. Supported commands: "clearBrowsingData" and "extensionUpdateCheck".
  - `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}
  - `payload` object: Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type. The payload for "extensionUpdateCheck" should be empty.
  - `validDuration` string, google-duration: Output only. Valid duration of the remote command.

---

[API](https://skmtc.dev/google/apis/chromemanagement.md) - [All operations](https://skmtc.dev/google/apis/chromemanagement/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/chromemanagement/revisions/872a15abbbd0?raw)
