Set resource parent relationship
permissions
Set resource parent relationship
Establishes a parent-child relationship between resources for permission inheritance. For example, linking a project to an organization or a secret to a project.
POST
Set resource parent relationship
Body
application/json
Request to link a resource to its parent in the hierarchy.
Type of child resource (e.g., 'project', 'artifact', 'secret')
Examples:
"project"
"artifact"
"secret"
ID of the child resource
Examples:
"my-project"
"artifact-123"
"artifact-123/api-key"
Type of parent resource (e.g., 'organization', 'project')
Examples:
"organization"
"project"
"artifact"
ID of the parent resource
Examples:
"my-org"
"my-project"
"artifact-123"
Response
Successful Response
Success response for permission operations.
Success message

