# Update Endpoint - UpdateSettingById

Updates data of setting with provided id.

# HTTP Request

One of the following requests should be made:

PUT /odata/settings({key})
PUT /odata/settings/{key}

# Path parameters

Name Description
key required. Id of setting that have to be updated.

# Query parameters

Name Description
repository optional. Destination repository key.

# Request headers

Name Description
Authorization required. Bearer {token}. See authorization
Content-Type required. application/json

# Request body

Information

Only properties with new values need to be specified, unmodified properties are optional and can be skipped.

Information

If readonly properties are specified the response will always be a 400 Bad Request error.

# Responses

Code Description Type
200 Setting data updated successfully. SettingsEntity
400 Data provided by request is invalid.
404 Setting data with the provided key/id not found.
500 Internal server error while updating setting.
Last updated: May 15, 2025 at 6:02 PM