Subscription Forms
Update subscription form
Update the existing subscription form. The form content is defined using Gravitee Markdown (GMD) syntax with form components.
Note: This operation does NOT change the enabled state. Use _enable/_disable endpoints for that.
User must have the ENVIRONMENT_SETTINGS[UPDATE] permission.
put/subscription-forms/{subscriptionFormId}
Path parameters
subscriptionFormIdstring uuid required
The unique ID of the subscription form
Request body
Example request
{
"gmdContent": "# Subscription Information\n\n<gmd-input name=\"consumer_company_name\" label=\"Company Name\" required=\"true\"/>\n<gmd-textarea name=\"consumer_use_case\" label=\"Use Case\" required=\"true\"/>\n"
}Response
Subscription form saved successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"gmdContent": "# Subscription Information\n\n<gmd-input name=\"consumer_company_name\" label=\"Company Name\" required=\"true\"/>\n<gmd-textarea name=\"consumer_use_case\" label=\"Use Case\" required=\"true\"/>\n"
}