1. Docs
  2. Reference
  3. REST API Docs
  4. Insights

Insights

    Pulumi Insights provides visibility into cloud resources, compliance monitoring, and policy enforcement across your organization. The Insights API covers account and integration management, resource search and inventory, and policy result inspection.

    See Pulumi Insights for conceptual documentation and getting-started guides.

    Reassign Stack Ownership

    Preview. This endpoint is in preview and may change without notice.
    POST /api/preview/insights/{orgName}/accounts/{accountName}/ownership

    Changes the ownership of the specified Insights account to the provided user. Returns the identity of the previous owner.

    Request Parameters

    • orgName string path required
      The organization name
    • accountName string path required
      The Insights account name

    Request Body

    Schema: UserInfo
    • name string required
      The user’s display name.
    • githubLogin string required
      The user’s login name.
    • avatarUrl string required
      The URL of the user’s avatar image.
    • email string optional
      IMPORTANT: The email address of the user is only included on a few admin-only APIs. For nearly all APIs that return a UserInfo object, this will not be provided. considered sensitive information.

    Responses

    200 OK
    Schema: UserInfo
    • name string required
      The user’s display name.
    • githubLogin string required
      The user’s login name.
    • avatarUrl string required
      The URL of the user’s avatar image.
    • email string optional
      IMPORTANT: The email address of the user is only included on a few admin-only APIs. For nearly all APIs that return a UserInfo object, this will not be provided. considered sensitive information.