<@U04S8PLJWMT> I am getting the error in airbyte e...
# ask-ai
m
@kapa.ai I am getting the error in airbyte embed code Error details: Airbyte API error: {"message":"Forbidden","_embedded":{"errors":[{"message":"Forbidden","_embedded":{},"_links":{}}]},"_links":{"self":{"href":"/api/v1/partial_user_configs/list","templated":false}}} SonarApiError: Airbyte API error: {"message":"Forbidden","_embedded":{"errors":[{"message":"Forbidden","_embedded":{},"_links":{}}]},"_links":{"self":{"href":"/api/v1/partial_user_configs/list","templated":false}}} at Ee (https://app.airbyte.ai/assets/index-DDr_uo03.js:123:82370)
k
Sorry @Mayur Shingare, it looks like your question contains files, which I cannot process. Please reformulate your question without including any files.
m
@kapa.ai Error details: Airbyte API error: {"message":"Forbidden","_embedded":{"errors":[{"message":"Forbidden","_embedded":{},"_links":{}}]},"_links":{"self":{"href":"/api/v1/partial_user_configs/list","templated":false}}} SonarApiError: Airbyte API error: {"message":"Forbidden","_embedded":{"errors":[{"message":"Forbidden","_embedded":{},"_links":{}}]},"_links":{"self":{"href":"/api/v1/partial_user_configs/list","templated":false}}} at Ee (https://app.airbyte.ai/assets/index-DDr_uo03.js:123:82370)
k
New message text here
m
@kapa.ai how can I alter permission to that token
k
A message from kapa.ai
To alter the permissions associated with a token in Airbyte, you need to update the user or application's permissions that the token represents. In Airbyte Self-Managed Enterprise and similar editions with RBAC, permissions are managed at the user level, and application tokens inherit the permissions of the user they are tied to. How to update permissions: 1. Identify the User or Application: Tokens are tied to users or applications. Determine which user or application the token belongs to. 2. Update Permissions via the Airbyte API: Use the Airbyte API to modify the user's permissions. The relevant endpoints allow you to: - List current permissions - Update permission scope or level of access - Create or delete permissions For example, to update a user's permission, you would use the [Update Permission](https://reference.airbyte.com/reference/updatepermission) endpoint. You can also list a user's current permissions with the [List Permissions](https://reference.airbyte.com/reference/listpermissions) endpoint. The process typically involves: - Listing the user's current permissions - Modifying the permission object to grant the required access (e.g., workspace_admin, workspace_reader, organization_admin, etc.) - Applying the changes via the API Example (pseudocode):
Copy code
json    {      "permissionId": "your-permission-id",      "permissionType": "workspace_admin"    }
(Refer to the [API documentation](https://reference.airbyte.com/reference/updatepermission) for the exact request format.) 3. Role Mapping Automation (Optional): If you want to automate permission assignments based on your organization’s roles, you can use RBAC Role Mapping via the Airbyte API. This allows you to map company roles to Airbyte permissions programmatically. See the [RBAC Role Mapping documentation](https://docs.airbyte.com/platform/access-management/role-mapping) for details and script examples. Note: - You cannot directly alter the permissions of a token itself; you must change the permissions of the user or application the token is associated with. - After updating permissions, you may need to generate a new token if the permission changes do not take effect immediately. For more details and examples, see the official documentation on [RBAC Role Mapping](https://docs.airbyte.com/platform/access-management/role-mapping) and [API Access Configuration](https://docs.airbyte.com/platform/enterprise-setup/api-access-config).