Create a new database within a database service
P365D).service.database.PUT /v1/databases instead of POST to perform an upsert. If a database with the same fullyQualifiedName already exists, it will be updated; otherwise, a new database is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.PUT /v1/databases/bulk to create or update multiple databases in a single request. The request body is an array of create request objects.
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create databases |
409 | ENTITY_ALREADY_EXISTS | Database with same name already exists in service (POST only) |