Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 3.16 KB

WebhookSecretKeyService.md

File metadata and controls

66 lines (40 loc) · 3.16 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("mouv4w914sp420zyiuo43jexocjzq6rnxf04dqmccakipx9g3a72svbj");

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("mouv4w914sp420zyiuo43jexocjzq6rnxf04dqmccakipx9g3a72svbj");

Console.WriteLine(response);