Skip to content

Save an SVG icon

POST
/api/v1/icons
curl --request POST \
--url http://127.0.0.1:58259/api/v1/icons \
--header 'Content-Type: application/json' \
--data '{ "svgName": "example", "svgData": "example" }'

Saves an SVG icon to the system.

Media type application/json
object
svgName
required
string
>= 1 characters <= 255 characters /^[a-zA-Z0-9-]+$/
svgData
required
string
0 <= 1048576 characters
Example generated
{
"svgName": "example",
"svgData": "example"
}

SVG icon saved successfully

Media type */*
object