Skip to main content

Publish or withdraw an Extension

PUT/contributors/{contributorId}/extensions/{extensionId}/published/
v2
PUT
extension-set-extension-published-state

Request

  • contributorIdstring
    required
  • extensionIdstring (uuid)
    required

Responses

application/json

The Extension visibility has been adjusted.

  • idstring (uuid)
    required
  • publishedboolean
    required

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"published":true,"reason":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/contributors/string/extensions/f0f86186-0a5a-45b2-aa33-502777496347/published