Skip to main content

Remove Form Template Background Image (v1)

Method & Path

DELETE /api/v1/workspace/:workspaceId/forms/templates/:templateId/background-image

Actual path: /v1/workspace/:workspaceId/forms/templates/:templateId/background-image

Description

Remove the background image from the form template. The template's backgroundImageUrl is set to null. Does not affect backgroundColor.

Authentication

Required: Workspace or Staff token.

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace ID
templateIdstringYesForm template ID

Response 200 OK

Returns the updated form template with backgroundImageUrl: null.

Common Errors

  • 400: Invalid template ID
  • 401: Unauthorized
  • 404: Form template not found
  • 500: Server error