Description
Enables you to update config in the configs list. This operation requires passing a config id and instance of the Config object with the ID and value fields set.
Request
POST https://api.smartrecruiters.com/v1/configs/{configId}
Path Parameters
name | type | description |
---|---|---|
configId | string | unique id of a config entry |
Query Parameters
n/a
Request Body
Config object. Both id and value fields are required.
Response Body
Updated instance of Config
Example request
curl -i -H "X-SmartToken:abc123" -H "Content-Type: application/json;charset=utf-8" -d @body.json -X POST https://api.smartrecruiters.com/v1/configs/assessmentNotificationUrl
Example request body
{ "id": "assessmentNotificationUrl", "value": "http://api.partnercompany.com/notifications" } |
Example response
{ "id": "assessmentNotificationUrl", "value": "http://api.partnercompany.com/notifications" } |