Update a configuration
The id of the configuration.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
This class represents the configuration data transfer object which is used to create or update a configuration.
The group code of the configuration.
The code of the configuration.
The name of the configuration.
The value of the configuration.
The description of the configuration.
This enum is used to define the common status of an object in JFW.
Supported values:
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
API call exceeded rate limit due to too many requests.
PUT /api/v1/configurations/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 104
{
"groupCode": "text",
"code": "text",
"name": "text",
"value": "text",
"description": "text",
"status": "Inactive"
}
{
"success": true,
"statusCode": 201,
"message": "The request was successful.",
"data": {
"id": "sApKpllz4sAplsmzha",
"groupCode": "GROUP_CODE",
"code": "CODE",
"name": "Name",
"value": "Value",
"description": "Description",
"status": "Active",
"isSystem": false
},
"errors": []
}
Last updated
Was this helpful?