v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Limits</a> in the AWS CodeCommit User Guide.

post/#X-Amz-Target=CodeCommit_20150413.UpdateRepositoryName

Headers

X-Amz-Target'CodeCommit_20150413.UpdateRepositoryName' required

Request body

oldNamestring required

The current name of the repository.

newNamestring required

The new name for the repository.

Response

Success