You can create a personal access token to authenticate API calls.
| Applicable editions | Enterprise Dedicated Edition |
|---|
Procedure
- Log on to the console. Select Dedicated. In the Actions column of the target instance, click Go to instance.
- Click your profile picture in the upper-right corner of the page and then click Personal Settings to go to the Personal Settings page. Alternatively, go to https://{your-organization-domain}/users/settings/personalAccessToken.
- In the left-side navigation pane, click Personal access token. On the page that appears, configure the token name, description, and expiration time, and select the required permissions. Then, click Create. | Parameter | Description | |---|---| | Token name | A custom name for the token. The name can contain up to 64 characters. | | Description | An optional description for the personal access token. | | Expiration time | Once expired, the token can no longer be used to call APIs. | | Select permissions | Configure permissions as needed. |
-
The Select permissions options are described below.
Category
Object
Permissions
Description
Basic services
Organization members
Read-only, No access
Organization departments
Read-only, No access
Tongyi Lingma
Developer usage statistics
Read-only, No access
Department usage statistics
Read-only, No access
Knowledge base
Read-only, Read/Write, No access
Knowledge base management
Knowledge base members
Read-only, Read/Write, No access
Knowledge base member management
Knowledge base files
Read-only, Read/Write, No access
Knowledge base file management