Get the details of the Terraform Cloud account.

External Documentation

To learn more, visit the Terraform Cloud documentation.

Example Output

{
	"data": {
		"id": "user-V3R563qtJNcExAkN",
		"type": "users",
		"attributes": {
			"username": "admin",
			"is-service-account": false,
			"avatar-url": "https://www.gravatar.com/avatar/9babb00091b97b9ce9538c45807fd35f?s=100&d=mm",
			"password": null,
			"enterprise-support": true,
			"is-admin": false,
			"is-site-admin": true,
			"is-sso-login": false,
			"is-unified": false,
			"two-factor": {
				"enabled": true,
				"verified": false
			},
			"email": "admin@hashicorp.com",
			"unconfirmed-email": null,
			"has-git-hub-app-token": true,
			"is-confirmed": false,
			"is-sudo": false,
			"auth-method": "tfc",
			"has-linked-hcp": false,
			"permissions": {
				"can-create-organizations": true,
				"can-view-settings": true,
				"can-view-profile": false,
				"can-change-email": true,
				"can-change-username": true,
				"can-change-password": true,
				"can-manage-sessions": true,
				"can-manage-sso-identities": true,
				"can-manage-user-tokens": true,
				"can-update-user": false,
				"can-reenable-2fa-by-unlinking": false,
				"can-manage-hcp-account": false
			}
		},
		"relationships": {
			"authentication-tokens": {
				"links": {
					"related": "/api/v2/users/user-V3R563qtJNcExAkN/authentication-tokens"
				}
			},
			"github-app-oauth-tokens": {
				"links": {
					"related": "<string>"
				}
			},
			"authenticated-resource": {
				"data": {
					"id": "user-V3R563qtJNcExAkN",
					"type": "users"
				},
				"links": {
					"related": "/api/v2/users/user-V3R563qtJNcExAkN"
				}
			}
		},
		"links": {
			"self": "/api/v2/users/user-V3R563qtJNcExAkN"
		}
	}
}

Workflow Library Example

Get Account Details with Terraform Cloud and Send Results Via Email

Preview this Workflow on desktop