CreateServiceResponse CreateService(ctx, createServiceRequest, optional)
This API creates a new service definition.
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| createServiceRequest | CreateServiceRequest | The fields for a service definition | |
| optional | *CreateServiceOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a CreateServiceOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
Return type
CreateServiceResponse
Authorization
api_key
- Content-Type: application/json
- Accept: application/json