{
"count": 1,
"service": {
"__meta__": {
"user:rd": "op"
},
"description": "test create network",
"dry_run": false,
"generate_name": "test###",
"is_emulated": true,
"name": "test-network"
}
}
curl --location --request POST 'https://example.com:30888/services' \
--header 'Content-Type: application/json' \
--data-raw '{
"count": 1,
"service": {
"__meta__": {
"user:rd": "op"
},
"description": "test create network",
"dry_run": false,
"generate_name": "test###",
"is_emulated": true,
"name": "test-network"
}
}'
{
"service": {
"can_delete": true,
"can_update": true,
"config_version": 0,
"created_at": "2019-08-24T14:15:22Z",
"delete_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"deleted": true,
"deleted_at": "2019-08-24T14:15:22Z",
"description": "string",
"enabled": true,
"endpoint_count": 0,
"extra": {},
"id": "string",
"is_emulated": true,
"metadata": {
"property1": "string",
"property2": "string"
},
"name": "string",
"type": "string",
"update_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"update_version": 0,
"updated_at": "2019-08-24T14:15:22Z"
}
}