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;
var client = new SaladCloudSdkClient();
var response = await client.WebhookSecretKey.GetWebhookSecretKeyAsync("mouv4w914sp420zyiuo43jexocjzq6rnxf04dqmccakipx9g3a72svbj");
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;
var client = new SaladCloudSdkClient();
var response = await client.WebhookSecretKey.UpdateWebhookSecretKeyAsync("mouv4w914sp420zyiuo43jexocjzq6rnxf04dqmccakipx9g3a72svbj");
Console.WriteLine(response);