v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141810567.1 KB

Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project.

post/#X-Amz-Target=CodeStar_20170419.DeleteProject

Headers

X-Amz-Target'CodeStar_20170419.DeleteProject' required

Request body

idstring required

The ID of the project to be deleted in AWS CodeStar.

clientRequestTokenstring

A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request.

deleteStackboolean

Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.

Response

Success

stackIdstring

The ID of the primary stack in AWS CloudFormation that will be deleted as part of deleting the project and its resources.

projectArnstring

The Amazon Resource Name (ARN) of the deleted project.