Deploys

Create a deploy target

Creates a reusable deployment destination for this project. Targets let a project use separate environments such as production and staging.

post/projects/{projectId}/deploy-targets

Request

  • Base URL
    https://api.grapesjs.com/v1
  • Auth
    HTTP bearer

Request body

providerId'default'

Deploy provider identifier. Omit this field to use the default provider.

subdomainstring

Optional subdomain for this target. When omitted, one is generated from the project name and ID.

displayNamestring required
customDomainstring

Response

Deploy target created successfully

Changes

No recorded changes to this operation across all 1 revision of this API.