Replace a style
Authorization
BearerAuth AuthorizationBearer <token>
API authentication via Authorization: Bearer <your-api-key>. Obtain
your API key from Config → API in the Aplas web app.
In: header
Path Parameters
styleId*string
The id of the style to replace
Request Body
application/json
The replacement style
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
curl -X PUT "https://api.au.aplas.com/api/v2/style/id" \ -H "Content-Type: application/json" \ -d '{ "id": "id", "name": "Style A", "description": "A description of my style", "mapId": "id_map" }'Empty
{
"code": 500,
"message": "Internal server error"
}