v31

latestSwagger 2.0raw.githubusercontent.com2026-08-01119317529.5 KB
Rbac
Project-Level

Create a project-level Kargo Role virtual resource

Create a project-level Kargo Role virtual resource by creating the underlying Kubernetes ServiceAccount, Role, and RoleBinding resources.

post/v1beta1/projects/{project}/roles

Path parameters

projectstring required

Project name

Request body

{"stackTrail":"components:requestBodies:CreateProjectRoleBody:content:application/json:schema","oasType":"schema","type":"unknown"}

Response

Role resource (github.com/akuity/kargo/api/rbac/v1alpha1.Role)

apiVersionstring

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources +optional

kargoManagedboolean
kindstring

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds +optional