customers

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

Creates a Chrome browser profile remote command.

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

Path parameters

customersIdstring required
profilesIdstring required

Request body

commandState'COMMAND_STATE_UNSPECIFIED' | 'PENDING' | 'EXPIRED' | 'EXECUTED_BY_CLIENT'

Output only. State of the remote command.

commandTypestring

Required. Type of the remote command. Supported commands: "clearBrowsingData" and "extensionUpdateCheck".

issueTimestring google-datetime

Output only. Timestamp of the issurance of the remote command.

namestring

Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}

payloadobject

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.

validDurationstring google-duration

Output only. Valid duration of the remote command.

Response

Successful response

commandState'COMMAND_STATE_UNSPECIFIED' | 'PENDING' | 'EXPIRED' | 'EXECUTED_BY_CLIENT'

Output only. State of the remote command.

commandTypestring

Required. Type of the remote command. Supported commands: "clearBrowsingData" and "extensionUpdateCheck".

issueTimestring google-datetime

Output only. Timestamp of the issurance of the remote command.

namestring

Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}

payloadobject

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.

validDurationstring google-duration

Output only. Valid duration of the remote command.

Changes

No recorded changes to this operation across all 8 revisions of this API.