Method: organizations.sites.site.defaultanonallowed

Sets the default visibility to all users (public), using the defaultAnonAllowed flag, for pages and API products that are published on the portal.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*/sites/*}/site/defaultanonallowed

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the portal. Use the following structure in your request: organizations/{org}/sites/{site}

Request body

The request body contains an instance of DefaultAnonAllowed.

Response body

If successful, the response body contains an instance of ApiResponseWrapper.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

DefaultAnonAllowed

JSON representation
{
  "defaultAnonAllowed": boolean
}
Fields
defaultAnonAllowed

boolean

Boolean flag that specifies the default visibility for pages and API products that are published on the portal.