Create a new pattern instance on a project
POST/nevisadmin/api/v1/projects/:projectKey/patterns
Required permission: MODIFY_PROJECT on the project, or higher scope
Creates a new pattern instance. Note that the pattern instance is created even if it fails validation (provided the input itself is well-formed).
Display Options (UI-only) allow displaying fields or properties in read-only mode or hiding them completely. Applied to users without ADMIN_PROJECT on /tenants/{tenantKey}/projects/{projectKey} or higher targets. Field names must use the field. prefix (e.g. field.name, field.deploymentHosts). The * wildcard hides or read-only-marks all fields and properties.
Request
Responses
- 201
- 400
- 403
- 404
Success
Missing or invalid request body
Insufficient permissions.
Project not found