Sha256: e89765d5d6957a9f476e0816c597f9916c8acab49b125d7bb4ffb1ab1e00f2b8

Contents?: true

Size: 578 Bytes

Versions: 15

Compression:

Stored size: 578 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: [
    DatadogAPIClient::V1::SharedDashboardInvitesDataObject.new({
      attributes: DatadogAPIClient::V1::SharedDashboardInvitesDataObjectAttributes.new({
        email: "test@datadoghq.com",
      }),
      type: DatadogAPIClient::V1::DashboardInviteType::PUBLIC_DASHBOARD_INVITATION,
    }),
  ],
})
api_instance.delete_public_dashboard_invitation("token", body)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.27.1 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.26.1 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.26.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.25.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.24.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.22.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.21.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.20.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.19.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.18.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.17.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.16.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.15.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb
datadog_api_client-2.14.0 examples/v1/dashboards/DeletePublicDashboardInvitation.rb