Add notes about inline policy to api endpoints

This commit is contained in:
Owen
2026-06-10 10:23:59 -07:00
parent 665806dfe8
commit d47449b082
6 changed files with 9 additions and 6 deletions

View File

@@ -28,7 +28,8 @@ const addRoleToResourceParamsSchema = z
registry.registerPath({
method: "post",
path: "/resource/{resourceId}/roles/add",
description: "Add a single role to a resource.",
description:
"Add a single role to a resource. When the resource has an inline policy defined (no shared resource policy assigned), the role is added to the inline policy instead of directly to the resource.",
tags: [OpenAPITags.PublicResource, OpenAPITags.Role],
request: {
params: addRoleToResourceParamsSchema,