Sha256: 2e30448e66ed1209a96e815d61005ad65ae7bd8e719601a0b7027c071318fd88

Contents?: true

Size: 512 Bytes

Versions: 4

Compression:

Stored size: 512 Bytes

Contents

# Revoke shared dashboard invitations returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::DashboardsAPI.new

body = DatadogAPIClient::V1::SharedDashboardInvites.new({
  data: [
    SharedDashboardInvitesDataObject.new({
      attributes: SharedDashboardInvitesDataObjectAttributes.new({
        email: "test@datadoghq.com",
      }),
      type: DashboardInviteType::PUBLIC_DASHBOARD_INVITATION,
    }),
  ],
})
api_instance.delete_public_dashboard_invitation("token", body)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datadog_api_client-2.13.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.12.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.11.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.10.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb