Update AI config

PATCH
/api/v2/projects/:projectKey/ai-configs/:configKey

Edit an existing AI config.

The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields.

Here’s an example:

{
"description": "Example updated description",
"tags": ["new-tag"]
}

Path parameters

projectKeystringRequired
configKeystringRequired

Headers

LD-API-Version"beta"Required

Version of the endpoint.

Request

This endpoint expects an object.
descriptionstringOptional
maintainerIdstringOptional
maintainerTeamKeystringOptional
namestringOptional
tagslist of stringsOptional

Response

AI config updated

descriptionstring
keystring
namestring
tagslist of strings
versioninteger
variationslist of objects
createdAtlong
updatedAtlong
_accessobjectOptional
_maintainerobjectOptional

Errors

Built with