The Projects.CreateSpec structure defines the information required to create a Harbor project.


name Required

Name of the Harbor project. Should be between 1-63 characters long alphanumeric string and may contain the following characters: a-z,0-9, and ‘-’. Must be starting with characters or numbers, with the ‘-’ character allowed anywhere except the first or last character.

scope Required

The Projects.Scope enumerated type in a project defines access levels of the project.
PUBLIC : A Harbor project can be accessed by everyone.
PRIVATE : A Harbor project can only be accessed by assigned users.

Possible values are: PUBLICPRIVATE

JSON Example

	"name": "string",
	"scope": "PUBLIC"


Was this page helpful?