Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 3.14 KB

WebhookSecretKeyService.md

File metadata and controls

66 lines (40 loc) · 3.14 KB

WebhookSecretKeyService

A list of all methods in the WebhookSecretKeyService service. Click on the method name to view detailed information about that method.

Methods Description
GetWebhookSecretKeyAsync Gets the webhook secret key
UpdateWebhookSecretKeyAsync Updates the webhook secret key

GetWebhookSecretKeyAsync

Gets the webhook secret key

  • HTTP Method: GET
  • Endpoint: /organizations/{organization_name}/webhook-secret-key

Parameters

Name Type Required Description
organizationName string Your organization name. This identifies the billing context for the API operation and represents a security boundary for SaladCloud resources. The organization must be created before using the API, and you must be a member of the organization.

Return Type

WebhookSecretKey

Example Usage Code Snippet

using Salad.Cloud.SDK;

var client = new SaladCloudSdkClient();

var response = await client.WebhookSecretKey.GetWebhookSecretKeyAsync("dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp");

Console.WriteLine(response);

UpdateWebhookSecretKeyAsync

Updates the webhook secret key

  • HTTP Method: POST
  • Endpoint: /organizations/{organization_name}/webhook-secret-key

Parameters

Name Type Required Description
organizationName string Your organization name. This identifies the billing context for the API operation and represents a security boundary for SaladCloud resources. The organization must be created before using the API, and you must be a member of the organization.

Return Type

WebhookSecretKey

Example Usage Code Snippet

using Salad.Cloud.SDK;

var client = new SaladCloudSdkClient();

var response = await client.WebhookSecretKey.UpdateWebhookSecretKeyAsync("dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp");

Console.WriteLine(response);