Method: billingAccounts.orders.licensePool.unassign

Unassigns a license from a user.

HTTP request

POST https://cloudcommerceconsumerprocurement.googleapis.com/v1/{parent=billingAccounts/*/orders/*/licensePool}:unassign

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. License pool name.

Request body

The request body contains data with the following structure:

JSON representation
{
  "usernames": [
    string
  ]
}
Fields
usernames[]

string

Required. Username. Format: name@domain.com.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • consumerprocurement.licensePools.unassign

For more information, see the IAM documentation.