v1
latestOpenAPI 3.0.32026-07-13351892.0 KBRegistry
CreateApi creates a specified API.
post/v1/projects/{project}/locations/{location}/apis
Path parameters
projectstring required
The project id.
locationstring required
The location id.
Query parameters
apiIdstring
Required. The ID to use for the api, which will become the final component of the api's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
Request body
Response
OK