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 |
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;
using Salad.Cloud.SDK.Config;
var config = new SaladCloudSdkConfig{};
var client = new SaladCloudSdkClient(config);
var response = await client.WebhookSecretKey.GetWebhookSecretKeyAsync("acme-corp");
Console.WriteLine(response);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;
using Salad.Cloud.SDK.Config;
var config = new SaladCloudSdkConfig{};
var client = new SaladCloudSdkClient(config);
var response = await client.WebhookSecretKey.UpdateWebhookSecretKeyAsync("acme-corp");
Console.WriteLine(response);