v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1475719557.8 KB

Removes the resource policy associated with a knowledge base. After deletion, other AWS accounts can no longer access the knowledge base using cross-account permissions.

delete/resourcepolicy/{resourceArn}

Path parameters

resourceArnstring required

The Amazon Resource Name (ARN) of the knowledge base to remove the resource policy from.

Query parameters

expectedRevisionIdstring

The expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently.

Response

Success

resourceArnstring required

The ARN of the knowledge base that the resource policy was removed from.

revisionIdstring

The revision identifier after the resource policy was deleted.