Edit the name and description of an api key
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| apiKeyId | integer (int32) | Required |
Request Body
ApiKeyEditRequest
| Property | Description | Type |
|---|---|---|
| apiKeyDescription | A description for the API key Required (defined) | string |
| apiKeyName | The name of the API key Required Must be between 0 and 60 characters | string |
Example Request Body
{ "apiKeyDescription": "string", "apiKeyName": "string"
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
ApiKeyResponse
| Property | Description | Type | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| apiKeyDescription | A description of the API key | string | ||||||||||||
| apiKeyId | The identifier of the API key | integer (int32) | ||||||||||||
| apiKeyName | The name of the API key | string | ||||||||||||
| createdBy | UserChild | |||||||||||||
|
UserChild properties
|
||||||||||||||
| createdDate | The API key creation date | string (date-time) | ||||||||||||
Example Response
{ "apiKeyDescription": "string", "apiKeyId": 1, "apiKeyName": "string", "createdBy": { "fullName": "string", "userCode": "string", "userId": 1
}, "createdDate": "2026-03-30"
}