Delete a user's license

Updated at:

Organization administrators use this API to delete a user's license for a specific application.

Important

The new Qoder CN documentation site is now available. Content on this site may not reflect the latest product features and changes. Visit docs.qoder.cn for the latest product documentation.

Supported editions

Enterprise Dedicated Edition

Service endpoints

Get the service endpoint and replace {domain} in the API request syntax with your endpoint.

Authorization

Product

Resource

Required permission

organization settings

license

read and write

Request syntax

DELETE https://{domain}/oapi/v1/platform/users/{userId}/licenses/{appIdentity}

Request

Delete lingma license

curl -X 'DELETE' \
  'https://test-domain-***.rdc.aliyuncs.com/oapi/v1/platform/users/3a41****3eca/licenses/lingma' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Request headers

x-yunxiao-token string (Required)

The access token. See Access token for details.

Example: pt-0fh3****0fbG_35af****0484.

Request parameters

userId string (Required)

The user ID. To get this ID, call the ListUsers - Query User List API operation.

appIdentity string (Required)

The application identity: lingma.

Response parameters

None {}

Error codes

For more information, see Error code center.