Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| username | string | Yes | Username of the credential |
Query Parameters
None.Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates if the request was successful |
| resultList | array[object] | List of granted access items |
Access Item Object
| Field | Type | Description |
|---|---|---|
| name | string | Name of the API Proxy or API Proxy Group |
| type | string | Type of access. See EnumAccessType |
EnumAccessType
API_PROXY- Access to a specific API ProxyAPI_PROXY_GROUP- Access to an API Proxy Group
Notes
- Returns both API Proxy and API Proxy Group accesses
- Empty list (
[]) is returned if credential has no access - Only shows accesses within the project scope
Error Response (400 Bad Request)
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Notes and Warnings
-
Credential Must Exist:
- Credential with specified username must exist
-
Project Scope:
- Only shows accesses within the project
- Global accesses may not be shown for regular projects
-
Empty Access:
- Returns empty list if credential has no access
-
Access Types:
- Shows both API Proxy and API Proxy Group accesses
- Type field indicates the access type
Related Documentation
- Grant Access - Grant access to API Proxy or Group
- Revoke Access - Revoke access from API Proxy or Group
- List Credentials - List all credentials

