Organizations

CreateOrgTemplateCollection

Creates a new template collection (source) for an organization. Template collections define where project templates are sourced from, such as a Git repository. Organization members can use these templates to create new stacks with pre-configured infrastructure code.

post/api/orgs/{orgName}/templates/sources

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/templates/sources
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Request body

destinationURLstring

The destination URL for the template source.

namestring required

The name of the template source.

sourceURLstring required

The source URL to fetch templates from.

Response

OK

destinationURLstring

The destination URL for the template source.

errorstring

An error message if the template source is invalid. Omitted or empty when the source is valid.

idstring required

The unique identifier of the template source.

isValidboolean required

Whether the template source configuration is valid.

namestring required

The human-readable name for this template source.

sourceURLstring required

The source URL to fetch templates from.

Changes

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