Set file content
Set file content
Query Parameters
type*string
Type
Value in
"config" | "provider" | "middleware"filename*string
Filename
Request Body
text/plain
File
TypeScript Definitions
Use the request body type in TypeScript.
body*string
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/file/content?type=config&filename=string" \ -H "Content-Type: text/plain" \ -d 'string'{
"details": {
"property1": null,
"property2": null
},
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}