Amazon Elastic Container Registry Public
  1. Root
Amazon Elastic Container Registry Public
  • Root
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
    • /
      POST
  1. Root

/

POST
/
Deletes the repository policy that's associated with the specified repository.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "registryId": "string",
    "repositoryName": "string"
}'
Response Response Example
200 - Example 1
{
    "registryId": "string",
    "repositoryName": "string",
    "policyText": "string"
}

Request

Header Params
X-Amz-Target
string 
required
Body Params application/json
registryId
string 
optional
The Amazon Web Services account ID that's associated with the public registry that contains the repository policy to delete. If you do not specify a registry, the default public registry is assumed.
Match pattern:
[0-9]{12}
repositoryName
string 
required
The name of the repository that's associated with the repository policy to delete.
>= 2 characters<= 205 characters
Match pattern:
(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*
Examples

Responses

🟢200Success
application/json
Body
registryId
string 
optional
The registry ID that's associated with the request.
Match pattern:
[0-9]{12}
repositoryName
string 
optional
The repository name that's associated with the request.
>= 2 characters<= 205 characters
Match pattern:
(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*
policyText
string 
optional
The JSON repository policy that was deleted from the repository.
>= 0 characters<= 10240 characters
🟠480ServerException
🟠481InvalidParameterException
🟠482RepositoryNotFoundException
🟠483RepositoryPolicyNotFoundException
🟠484UnsupportedCommandException
Previous
/
Next
/
Built with