v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
ContainerRegistries

Create Container Registries

Create a container registry by specifying parameters in the request body when invoking the following endpoint:

POST https://YourAccount.lacework.net/api/v2/ContainerRegistries

post/api/v2/ContainerRegistries

Headers

Authorizationstring required

Bearer Access Token. For example, "Bearer {YourAPIToken}"

Content-Typestring required

application/json

Org-Accessboolean

Use this attribute to specify if the access token has organization admin permissions. If the access token has only account permissions, use the Account-Name attribute to specify which account to access.

Account-Namestring

Use this attribute to specify which sub-account to access.

Request body

namestring required

When sending a request, use this attribute to specify an integration’s name. When included in a response, this attribute returns the specified integration’s name.

type'ContVulnCfg' required

When sending a request, use this attribute to specify the type of integration, from the following options. When included in a response, this attribute returns the specified integration’s type.

enablednumber required

When sending a request, use this attribute to enable or disable an integration. When included in a response, returns 1 for an enabled integration or 0 for a disabled integration.

cloudIdstring

The cloud account identifier.

cloudIdType'AWS_ACCOUNT_ID' | 'AZURE_TENANT_ID' | 'GCP_PROJECT_ID' | 'GCP_ORGANIZATION_ID' | 'OCI_TENANT_ID'

The type of cloud account identifier.

Example request

{
  "enabled": 1
}

Response

No Error

Example response

{
  "data": {
    "enabled": 1
  }
}