Skip to content

Commit 39374d3

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.503.0
1 parent 1f901a8 commit 39374d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1660
-53
lines changed

.speakeasy/gen.lock

Lines changed: 45 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
lockVersion: 2.0.0
22
id: 2858c6d9-f946-4185-ae68-3b8e708830fb
33
management:
4-
docChecksum: 91d0aeea02ab32b58fdf8e9ef49d1b48
4+
docChecksum: d718cd9b92034ef08c52f90bdc73a004
55
docVersion: 0.4.0
6-
speakeasyVersion: 1.490.0
7-
generationVersion: 2.512.0
8-
releaseVersion: 3.23.0
9-
configChecksum: 77a4deca16e249b78bac49004ef89abf
6+
speakeasyVersion: 1.503.0
7+
generationVersion: 2.526.1
8+
releaseVersion: 3.24.0
9+
configChecksum: 7de12295c8c19f6ae380e82f5358f2e9
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-go
1313
published: true
1414
features:
1515
go:
1616
additionalDependencies: 0.1.0
17-
constsAndDefaults: 0.1.8
18-
core: 3.7.0
17+
constsAndDefaults: 0.1.10
18+
core: 3.7.2
1919
deepObjectParams: 0.1.1
2020
defaultEnabledRetries: 0.2.0
2121
deprecations: 2.81.3
@@ -29,13 +29,13 @@ features:
2929
intellisenseMarkdownSupport: 0.1.0
3030
mockServer: 0.1.0
3131
nameOverrides: 2.81.2
32-
nullables: 0.1.0
32+
nullables: 0.1.1
3333
openEnums: 0.1.0
3434
responseFormat: 0.1.2
3535
retries: 2.83.2
3636
sdkHooks: 0.1.0
3737
serverIDs: 2.81.1
38-
tests: 0.12.0
38+
tests: 0.13.0
3939
uploadStreams: 0.1.0
4040
generatedFiles:
4141
- .devcontainer/README.md
@@ -46,15 +46,18 @@ generatedFiles:
4646
- /pkg/models/operations/archivenamespace.go
4747
- /pkg/models/operations/checkgithubaccess.go
4848
- /pkg/models/operations/create.go
49+
- /pkg/models/operations/createbillingaddons.go
4950
- /pkg/models/operations/createfreetrial.go
5051
- /pkg/models/operations/createorganization.go
5152
- /pkg/models/operations/createremotesource.go
5253
- /pkg/models/operations/createworkspace.go
5354
- /pkg/models/operations/createworkspacetoken.go
55+
- /pkg/models/operations/deletebillingaddon.go
5456
- /pkg/models/operations/deleteworkspacetoken.go
5557
- /pkg/models/operations/generatecodesamplepreview.go
5658
- /pkg/models/operations/generatecodesamplepreviewasync.go
5759
- /pkg/models/operations/getaccesstoken.go
60+
- /pkg/models/operations/getbillingaddons.go
5861
- /pkg/models/operations/getblob.go
5962
- /pkg/models/operations/getchangesreportsignedurl.go
6063
- /pkg/models/operations/getcodesamplepreviewasync.go
@@ -114,6 +117,7 @@ generatedFiles:
114117
- /pkg/models/shared/addtags.go
115118
- /pkg/models/shared/annotations.go
116119
- /pkg/models/shared/apikeydetails.go
120+
- /pkg/models/shared/billingaddon.go
117121
- /pkg/models/shared/clievent.go
118122
- /pkg/models/shared/codesampleschemainput.go
119123
- /pkg/models/shared/codesamplesjobstatus.go
@@ -140,6 +144,8 @@ generatedFiles:
140144
- /pkg/models/shared/oasoperation.go
141145
- /pkg/models/shared/oassummary.go
142146
- /pkg/models/shared/organization.go
147+
- /pkg/models/shared/organizationbillingaddonrequest.go
148+
- /pkg/models/shared/organizationbillingaddonresponse.go
143149
- /pkg/models/shared/organizationusage.go
144150
- /pkg/models/shared/organizationusageresponse.go
145151
- /pkg/models/shared/preflightrequest.go
@@ -183,6 +189,7 @@ generatedFiles:
183189
- docs/pkg/models/operations/archivenamespaceresponse.md
184190
- docs/pkg/models/operations/checkgithubaccessrequest.md
185191
- docs/pkg/models/operations/checkgithubaccessresponse.md
192+
- docs/pkg/models/operations/createbillingaddonsresponse.md
186193
- docs/pkg/models/operations/createfreetrialresponse.md
187194
- docs/pkg/models/operations/createorganizationresponse.md
188195
- docs/pkg/models/operations/createremotesourceresponse.md
@@ -192,6 +199,8 @@ generatedFiles:
192199
- docs/pkg/models/operations/createworkspacetokenglobals.md
193200
- docs/pkg/models/operations/createworkspacetokenrequest.md
194201
- docs/pkg/models/operations/createworkspacetokenresponse.md
202+
- docs/pkg/models/operations/deletebillingaddonrequest.md
203+
- docs/pkg/models/operations/deletebillingaddonresponse.md
195204
- docs/pkg/models/operations/deleteworkspacetokenglobals.md
196205
- docs/pkg/models/operations/deleteworkspacetokenrequest.md
197206
- docs/pkg/models/operations/deleteworkspacetokenresponse.md
@@ -201,6 +210,7 @@ generatedFiles:
201210
- docs/pkg/models/operations/generatecodesamplepreviewresponse.md
202211
- docs/pkg/models/operations/getaccesstokenrequest.md
203212
- docs/pkg/models/operations/getaccesstokenresponse.md
213+
- docs/pkg/models/operations/getbillingaddonsresponse.md
204214
- docs/pkg/models/operations/getblobrequest.md
205215
- docs/pkg/models/operations/getblobresponse.md
206216
- docs/pkg/models/operations/getchangesreportsignedurlrequest.md
@@ -322,6 +332,7 @@ generatedFiles:
322332
- docs/pkg/models/shared/annotations.md
323333
- docs/pkg/models/shared/apikeydetails.md
324334
- docs/pkg/models/shared/auth.md
335+
- docs/pkg/models/shared/billingaddon.md
325336
- docs/pkg/models/shared/claims.md
326337
- docs/pkg/models/shared/clievent.md
327338
- docs/pkg/models/shared/codesampleschemainput.md
@@ -354,6 +365,8 @@ generatedFiles:
354365
- docs/pkg/models/shared/oassummary.md
355366
- docs/pkg/models/shared/openapidiffbumptype.md
356367
- docs/pkg/models/shared/organization.md
368+
- docs/pkg/models/shared/organizationbillingaddonrequest.md
369+
- docs/pkg/models/shared/organizationbillingaddonresponse.md
357370
- docs/pkg/models/shared/organizationusage.md
358371
- docs/pkg/models/shared/organizationusageresponse.md
359372
- docs/pkg/models/shared/preflightrequest.md
@@ -459,6 +472,7 @@ generatedFiles:
459472
- tests/mockserver/internal/handler/doc.go
460473
- tests/mockserver/internal/handler/generated_handler.go
461474
- tests/mockserver/internal/handler/generated_handlers.go
475+
- tests/mockserver/internal/handler/pathdeletev1organizationaddonsaddon.go
462476
- tests/mockserver/internal/handler/pathgetv1artifactsnamespaces.go
463477
- tests/mockserver/internal/handler/pathgetv1artifactsnamespacesnamespacenamerevisions.go
464478
- tests/mockserver/internal/handler/pathgetv1artifactsnamespacesnamespacenametags.go
@@ -471,6 +485,7 @@ generatedFiles:
471485
- tests/mockserver/internal/handler/pathgetv1githubsetup.go
472486
- tests/mockserver/internal/handler/pathgetv1ociv2organizationslugworkspaceslugnamespacenameblobsdigest.go
473487
- tests/mockserver/internal/handler/pathgetv1ociv2organizationslugworkspaceslugnamespacenamemanifestsrevisionreference.go
488+
- tests/mockserver/internal/handler/pathgetv1organizationaddons.go
474489
- tests/mockserver/internal/handler/pathgetv1organizationorganizationid.go
475490
- tests/mockserver/internal/handler/pathgetv1organizations.go
476491
- tests/mockserver/internal/handler/pathgetv1organizationusage.go
@@ -496,6 +511,7 @@ generatedFiles:
496511
- tests/mockserver/internal/handler/pathpostv1githubpublishingsecrets.go
497512
- tests/mockserver/internal/handler/pathpostv1githubtriggeraction.go
498513
- tests/mockserver/internal/handler/pathpostv1organization.go
514+
- tests/mockserver/internal/handler/pathpostv1organizationaddons.go
499515
- tests/mockserver/internal/handler/pathpostv1organizationfreetrial.go
500516
- tests/mockserver/internal/handler/pathpostv1reports.go
501517
- tests/mockserver/internal/handler/pathpostv1shorturls.go
@@ -520,6 +536,7 @@ generatedFiles:
520536
- tests/mockserver/internal/sdk/models/components/addtags.go
521537
- tests/mockserver/internal/sdk/models/components/annotations.go
522538
- tests/mockserver/internal/sdk/models/components/apikeydetails.go
539+
- tests/mockserver/internal/sdk/models/components/billingaddon.go
523540
- tests/mockserver/internal/sdk/models/components/clievent.go
524541
- tests/mockserver/internal/sdk/models/components/codesampleschemainput.go
525542
- tests/mockserver/internal/sdk/models/components/codesamplesjobstatus.go
@@ -547,6 +564,8 @@ generatedFiles:
547564
- tests/mockserver/internal/sdk/models/components/oasoperation.go
548565
- tests/mockserver/internal/sdk/models/components/oassummary.go
549566
- tests/mockserver/internal/sdk/models/components/organization.go
567+
- tests/mockserver/internal/sdk/models/components/organizationbillingaddonrequest.go
568+
- tests/mockserver/internal/sdk/models/components/organizationbillingaddonresponse.go
550569
- tests/mockserver/internal/sdk/models/components/organizationusage.go
551570
- tests/mockserver/internal/sdk/models/components/organizationusageresponse.go
552571
- tests/mockserver/internal/sdk/models/components/preflightrequest.go
@@ -583,15 +602,18 @@ generatedFiles:
583602
- tests/mockserver/internal/sdk/models/operations/archivenamespace.go
584603
- tests/mockserver/internal/sdk/models/operations/checkgithubaccess.go
585604
- tests/mockserver/internal/sdk/models/operations/create.go
605+
- tests/mockserver/internal/sdk/models/operations/createbillingaddons.go
586606
- tests/mockserver/internal/sdk/models/operations/createfreetrial.go
587607
- tests/mockserver/internal/sdk/models/operations/createorganization.go
588608
- tests/mockserver/internal/sdk/models/operations/createremotesource.go
589609
- tests/mockserver/internal/sdk/models/operations/createworkspace.go
590610
- tests/mockserver/internal/sdk/models/operations/createworkspacetoken.go
611+
- tests/mockserver/internal/sdk/models/operations/deletebillingaddon.go
591612
- tests/mockserver/internal/sdk/models/operations/deleteworkspacetoken.go
592613
- tests/mockserver/internal/sdk/models/operations/generatecodesamplepreview.go
593614
- tests/mockserver/internal/sdk/models/operations/generatecodesamplepreviewasync.go
594615
- tests/mockserver/internal/sdk/models/operations/getaccesstoken.go
616+
- tests/mockserver/internal/sdk/models/operations/getbillingaddons.go
595617
- tests/mockserver/internal/sdk/models/operations/getblob.go
596618
- tests/mockserver/internal/sdk/models/operations/getchangesreportsignedurl.go
597619
- tests/mockserver/internal/sdk/models/operations/getcodesamplepreviewasync.go
@@ -793,7 +815,7 @@ examples:
793815
speakeasy-default-validate-api-key:
794816
responses:
795817
2XX:
796-
application/json: {"account_type_v2": "enterprise", "enabled_features": ["<value>", "<value>", "<value>"], "org_slug": "<value>", "telemetry_disabled": true, "workspace_created_at": "2024-02-05T22:57:49.657Z", "workspace_id": "<id>", "workspace_slug": "<value>"}
818+
application/json: {"account_type_v2": "enterprise", "billing_add_ons": ["custom_code_regions", "webhooks", "sdk_testing"], "enabled_features": ["<value>", "<value>", "<value>"], "org_slug": "<value>", "telemetry_disabled": true, "workspace_created_at": "2024-02-05T22:57:49.657Z", "workspace_id": "<id>", "workspace_slug": "<value>"}
797819
4XX:
798820
application/json: {"message": "<value>", "status_code": 150892}
799821
generateCodeSamplePreview:
@@ -1290,6 +1312,16 @@ examples:
12901312
responses:
12911313
4XX:
12921314
application/json: {"message": "<value>", "status_code": 334009}
1315+
createBillingAddOns:
1316+
speakeasy-default-create-billing-add-ons:
1317+
requestBody:
1318+
application/json: {"add_ons": ["sdk_testing", "sdk_testing", "webhooks"]}
1319+
deleteBillingAddOn:
1320+
speakeasy-default-delete-billing-add-on:
1321+
parameters:
1322+
path:
1323+
add_on: "custom_code_regions"
1324+
getBillingAddOns: {}
12931325
examplesVersion: 1.0.0
12941326
generatedTests:
12951327
generateCodeSamplePreview: "2024-12-09T10:07:33-05:00"
@@ -1367,3 +1399,6 @@ generatedTests:
13671399
getCodeSamples: "2025-01-03T22:02:43Z"
13681400
setWorkspaceFeatureFlags: "2025-01-09T00:53:22Z"
13691401
archiveNamespace: "2025-01-28T22:02:35Z"
1402+
createBillingAddOns: "2025-02-25T16:56:22Z"
1403+
deleteBillingAddOn: "2025-02-25T16:56:22Z"
1404+
getBillingAddOns: "2025-02-25T16:56:22Z"

.speakeasy/tests.arazzo.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,3 +1719,35 @@ workflows:
17191719
successCriteria:
17201720
- condition: $statusCode == 200
17211721
x-speakeasy-test-group: Artifacts
1722+
- workflowId: createBillingAddOns
1723+
steps:
1724+
- stepId: test
1725+
operationId: createBillingAddOns
1726+
requestBody:
1727+
contentType: application/json
1728+
payload:
1729+
add_ons:
1730+
- sdk_testing
1731+
- sdk_testing
1732+
- webhooks
1733+
successCriteria:
1734+
- condition: $statusCode == 200
1735+
x-speakeasy-test-group: Organizations
1736+
- workflowId: deleteBillingAddOn
1737+
steps:
1738+
- stepId: test
1739+
operationId: deleteBillingAddOn
1740+
parameters:
1741+
- name: add_on
1742+
in: path
1743+
value: custom_code_regions
1744+
successCriteria:
1745+
- condition: $statusCode == 200
1746+
x-speakeasy-test-group: Organizations
1747+
- workflowId: getBillingAddOns
1748+
steps:
1749+
- stepId: test
1750+
operationId: getBillingAddOns
1751+
successCriteria:
1752+
- condition: $statusCode == 200
1753+
x-speakeasy-test-group: Organizations

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.490.0
1+
speakeasyVersion: 1.503.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:cb6e69a6cb848e5ed831d71d915fefd72ce836d31388b9c241609ca0035d10a4
6-
sourceBlobDigest: sha256:8547e3af755803821a51fa83a7a9ac84c514e7aff0d476640456d8132a389c6c
5+
sourceRevisionDigest: sha256:72bd1bba1fdaf84df58f463afb1fb034ec4f11a6e54c3e5638e7d300d96dc208
6+
sourceBlobDigest: sha256:a748857eda22986e1253627c91975c636221da1f8fd3f2a1f932a3c2db294762
77
tags:
88
- latest
99
- main
@@ -12,10 +12,10 @@ targets:
1212
speakeasy-client-sdk-go:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:cb6e69a6cb848e5ed831d71d915fefd72ce836d31388b9c241609ca0035d10a4
16-
sourceBlobDigest: sha256:8547e3af755803821a51fa83a7a9ac84c514e7aff0d476640456d8132a389c6c
15+
sourceRevisionDigest: sha256:72bd1bba1fdaf84df58f463afb1fb034ec4f11a6e54c3e5638e7d300d96dc208
16+
sourceBlobDigest: sha256:a748857eda22986e1253627c91975c636221da1f8fd3f2a1f932a3c2db294762
1717
codeSamplesNamespace: code-samples-go-speakeasy-client-sdk-go
18-
codeSamplesRevisionDigest: sha256:f74110700d0cdc5eec9ccd4bf440223ef5f5c4728f0f5067fb1366f8786ec2d4
18+
codeSamplesRevisionDigest: sha256:09d79bf4ed24f82cc8ac88aefbb190ecba11f4b63579a3e66efd5877bde346ab
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,12 @@ func main() {
139139
### [Organizations](docs/sdks/organizations/README.md)
140140

141141
* [Create](docs/sdks/organizations/README.md#create) - Create an organization
142+
* [CreateBillingAddOns](docs/sdks/organizations/README.md#createbillingaddons) - Create billing add ons
142143
* [CreateFreeTrial](docs/sdks/organizations/README.md#createfreetrial) - Create a free trial for an organization
144+
* [DeleteBillingAddOn](docs/sdks/organizations/README.md#deletebillingaddon) - Delete billing add ons
143145
* [Get](docs/sdks/organizations/README.md#get) - Get organization
144146
* [GetAll](docs/sdks/organizations/README.md#getall) - Get organizations for a user
147+
* [GetBillingAddOns](docs/sdks/organizations/README.md#getbillingaddons) - Get billing add ons
145148
* [GetUsage](docs/sdks/organizations/README.md#getusage) - Get billing usage summary for a particular organization
146149

147150
### [Reports](docs/sdks/reports/README.md)
@@ -262,9 +265,9 @@ func main() {
262265

263266
You can override the default server globally using the `WithServer(server string)` option when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
264267

265-
| Name | Server |
266-
| ------ | ----------------------------------- |
267-
| `prod` | `https://api.prod.speakeasyapi.dev` |
268+
| Name | Server | Description |
269+
| ------ | ----------------------------------- | ----------- |
270+
| `prod` | `https://api.prod.speakeasyapi.dev` | |
268271

269272
#### Example
270273

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,4 +1626,14 @@ Based on:
16261626
### Generated
16271627
- [go v3.23.0] .
16281628
### Releases
1629-
- [Go v3.23.0] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.23.0 - .
1629+
- [Go v3.23.0] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.23.0 - .
1630+
1631+
## 2025-02-25 16:56:03
1632+
### Changes
1633+
Based on:
1634+
- OpenAPI Doc
1635+
- Speakeasy CLI 1.503.0 (2.526.1) https://github.com/speakeasy-api/speakeasy
1636+
### Generated
1637+
- [go v3.24.0] .
1638+
### Releases
1639+
- [Go v3.24.0] https://github.com/speakeasy-api/speakeasy-client-sdk-go/releases/tag/v3.24.0 - .

codeSamples.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,24 @@ actions:
177177
- lang: go
178178
label: createOrganization
179179
source: "package main\n\nimport(\n\t\"context\"\n\tspeakeasyclientsdkgo \"github.com/speakeasy-api/speakeasy-client-sdk-go/v3\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/types\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n \n s := speakeasyclientsdkgo.New(\n speakeasyclientsdkgo.WithSecurity(shared.Security{\n APIKey: speakeasyclientsdkgo.String(\"<YOUR_API_KEY_HERE>\"),\n }),\n )\n\n res, err := s.Organizations.Create(ctx, shared.Organization{\n ID: \"<id>\",\n Name: \"<value>\",\n Slug: \"<value>\",\n AccountType: shared.AccountTypeScaleUp,\n TelemetryDisabled: false,\n CreatedAt: types.MustTimeFromString(\"2024-04-02T12:48:32.253Z\"),\n UpdatedAt: types.MustTimeFromString(\"2023-05-28T06:20:22.766Z\"),\n SsoActivated: true,\n })\n if err != nil {\n log.Fatal(err)\n }\n if res.Organization != nil {\n // handle response\n }\n}"
180+
- target: $["paths"]["/v1/organization/add_ons"]["get"]
181+
update:
182+
x-codeSamples:
183+
- lang: go
184+
label: getBillingAddOns
185+
source: "package main\n\nimport(\n\t\"context\"\n\tspeakeasyclientsdkgo \"github.com/speakeasy-api/speakeasy-client-sdk-go/v3\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n \n s := speakeasyclientsdkgo.New(\n speakeasyclientsdkgo.WithSecurity(shared.Security{\n APIKey: speakeasyclientsdkgo.String(\"<YOUR_API_KEY_HERE>\"),\n }),\n )\n\n res, err := s.Organizations.GetBillingAddOns(ctx)\n if err != nil {\n log.Fatal(err)\n }\n if res.OrganizationBillingAddOnResponse != nil {\n // handle response\n }\n}"
186+
- target: $["paths"]["/v1/organization/add_ons"]["post"]
187+
update:
188+
x-codeSamples:
189+
- lang: go
190+
label: createBillingAddOns
191+
source: "package main\n\nimport(\n\t\"context\"\n\tspeakeasyclientsdkgo \"github.com/speakeasy-api/speakeasy-client-sdk-go/v3\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n \n s := speakeasyclientsdkgo.New(\n speakeasyclientsdkgo.WithSecurity(shared.Security{\n APIKey: speakeasyclientsdkgo.String(\"<YOUR_API_KEY_HERE>\"),\n }),\n )\n\n res, err := s.Organizations.CreateBillingAddOns(ctx, shared.OrganizationBillingAddOnRequest{\n AddOns: []shared.BillingAddOn{\n shared.BillingAddOnSDKTesting,\n shared.BillingAddOnSDKTesting,\n shared.BillingAddOnWebhooks,\n },\n })\n if err != nil {\n log.Fatal(err)\n }\n if res.OrganizationBillingAddOnResponse != nil {\n // handle response\n }\n}"
192+
- target: $["paths"]["/v1/organization/add_ons/{add_on}"]["delete"]
193+
update:
194+
x-codeSamples:
195+
- lang: go
196+
label: deleteBillingAddOn
197+
source: "package main\n\nimport(\n\t\"context\"\n\tspeakeasyclientsdkgo \"github.com/speakeasy-api/speakeasy-client-sdk-go/v3\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/shared\"\n\t\"github.com/speakeasy-api/speakeasy-client-sdk-go/v3/pkg/models/operations\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n \n s := speakeasyclientsdkgo.New(\n speakeasyclientsdkgo.WithSecurity(shared.Security{\n APIKey: speakeasyclientsdkgo.String(\"<YOUR_API_KEY_HERE>\"),\n }),\n )\n\n res, err := s.Organizations.DeleteBillingAddOn(ctx, operations.DeleteBillingAddOnRequest{\n AddOn: shared.BillingAddOnCustomCodeRegions,\n })\n if err != nil {\n log.Fatal(err)\n }\n if res != nil {\n // handle response\n }\n}"
180198
- target: $["paths"]["/v1/organization/free_trial"]["post"]
181199
update:
182200
x-codeSamples:

0 commit comments

Comments
 (0)