Endpoint
Authentication
Requires a Personal API Access Token.Header
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| apiProxyName | string | Yes | API Proxy name |
Request Body
Full JSON Body Example - Update All Metadata
Full JSON Body Example - Update Name Only
Full JSON Body Example - Update Description and Categories
Full JSON Body Example - Update Sharing Type
Request Body Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | No | - | API Proxy name. Must be unique within the project if provided |
| description | string | No | - | API Proxy description |
| categoryList | array[string] | No | - | List of category names for API Proxy organization |
| sharingType | string | No | - | Sharing type for API Proxy. See EnumSharingType |
EnumSharingType (sharingType)
BOTH- Share with both internal and external usersNONE- Do not share (private)EXTERNAL- Share only with external usersINTERNAL- Share only with internal users
Notes
- All fields are optional
- At least one field must be provided
- If
nameis provided, it must be unique within the project categoryListcan be empty array to clear all categoriesdescriptioncan be set to empty string to clear descriptionsharingTypecontrols who can access the API Proxy
Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates if the request was successful |
Error Response (400 Bad Request)
Common Causes
- Provided
namealready exists in the project - Invalid
sharingTypevalue
Error Response (401 Unauthorized)
Error Response (404 Not Found)
cURL Example
Example 1: Update All Metadata
Example 2: Update Name Only
Example 3: Update Description and Categories
Example 4: Update Sharing Type
Example 5: Clear Categories
Notes and Warnings
- Name Uniqueness:
- API Proxy names must be unique within the project
- If you try to set a name that already exists, the request will fail
- Name changes are immediate and affect API Proxy identification
- Partial Updates:
- You can update any combination of fields
- Fields not provided will remain unchanged
- Empty arrays clear categories
- Sharing Type:
BOTH- API Proxy is visible to both internal and external usersINTERNAL- API Proxy is visible only to internal usersEXTERNAL- API Proxy is visible only to external usersNONE- API Proxy is private (not shared)
- Categories:
- Categories are used for API Proxy organization and discovery
- Multiple categories can be assigned to a single API Proxy
- Categories are case-sensitive
- Empty array clears all categories
- Description:
- Description provides additional information about the API Proxy
- Can be used for documentation and discovery
- Can be set to empty string to clear description
Permissions
User must haveAPI_MANAGEMENT + MANAGE permission in the project.
- Immediate Effect:
- Metadata changes take effect immediately
- Name changes affect API Proxy identification
- Sharing type changes affect API Proxy visibility
- API Proxy Discovery:
- Metadata is used for API Proxy discovery and search
- Categories help users find relevant API Proxies
- Description provides context about API Proxy purpose
Related Documentation
- Get API Proxy - Get API proxy details (includes metadata)
- Update API Keys - Update API keys
- List API Proxies - List all API Proxies (filtered by metadata)

