Maxim Logo
Log Repositories

Update log repository

Update log repository

PUT
/v1/log-repositories

Authorization

x-maxim-api-key<token>

API key for authentication

In: header

Request Body

application/jsonOptional
idRequiredstring

Log repository ID to fetch specific repository

nameRequiredstring

Name of the log repository

descriptionstring

Description of the log respository

folderIdstring

Optional ID of the folder containing the repository

customPricingStructureIdstring

Optional custom pricing structure ID

curl -X PUT "https://api.getmaxim.ai/v1/log-repositories" \
  -H "x-maxim-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "name": "string",
    "description": "string",
    "folderId": "string",
    "customPricingStructureId": "string"
  }'

Log repository updated successfully

{
  "data": {
    "id": "string",
    "name": "string",
    "description": "string",
    "workspaceId": "string",
    "folderId": "string",
    "config": {},
    "customPricingStructureId": "string",
    "createdAt": "string",
    "updatedAt": "string"
  }
}