Manage users and user tags¶
Create, query, update, disable, or delete users, and maintain tags used to classify users. This page does not create roles or configure permission policies.
Prerequisites¶
Prepare credentials that can access the target workspace. For service endpoints, authentication, and general request formats, see Make your first AI Studio API call.
Before updating, disabling, deleting, or binding roles, obtain the target user ID from the user list. Before managing tags, list the available tags.
Call sequence¶
First list users to identify a target user or create a new user.
After creation or update, query user-role bindings. To change roles, update the bindings, then query again to confirm.
To classify users by business purpose, create or update tags and query the tag list to confirm the result.
Before disabling or deleting a user, query user information and related records, then confirm impact and conditions on the action page.
API operations¶
Create and maintain users¶
Task |
Use it when |
|---|---|
Create a new user. |
|
Select a target user or confirm a change. |
|
You have the user ID and need to modify user information. |
|
Adjust a target user’s status. |
|
Confirm impact and conditions on the action page before deletion. |
|
View audit events for a target user. |
Manage user-role bindings¶
Task |
Use it when |
|---|---|
Confirm a user’s roles before or after updating. |
|
You identified a user and roles and need to adjust their bindings. |
Manage user tags¶
Task |
Use it when |
|---|---|
You need a new user tag. |
|
Select or confirm tags. |
|
You have the tag ID and need to modify it. |
|
Confirm impact and conditions on the action page before deletion. |
Confirm the result¶
After user changes, use List users and Get user-role bindings to confirm the result. After tag changes, use List user tags to confirm them.
Limitations and notes¶
Deleting users or tags and updating user status affect the target objects. Confirm conditions and results on the corresponding action page before proceeding.