Theme/Upload a theme
POST {{portal-host-port}}/portal-api/themes/upload
Use this request to upload a new theme or replace an existing one. The theme must be a zip archive with valid file structure as defined in the Tyk Enterprise Developer Portal documentation.
If a theme with the name
specified in the theme manifest file already exist, it will be replaced with the uploaded theme. Otherwise, if a theme with such name doesn't exist it will be treated as a new theme.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string |
RESPONSES
status: OK
"File uploaded successfully\n"