Skip to main content

Get a resource

GET 

/api/v1/ManagedResource/:managedResourceId

Returns one resource. Administrators and application accounts can read any resource. Other users can read only the resources assigned to access policies they are assigned to.

Permission required: Any signed-in user who has completed multifactor authentication; application accounts are exempt from the multifactor check. Administrators and application accounts can read any resource; other users can read only resources assigned to access policies they are assigned to.

Values for type: 0 = Host, 1 = Domain, 2 = Website, 3 = AzureAdTenant, 4 = SecretVault, 5 = Database.

Values for manageAccount: 0 = Unmanaged, 1 = Managed.

Values for sshTrustActionType: 0 = AlwaysTrustIgnoreThumbprint, 1 = WarnOnThumbprintMismatch, 2 = ErrorOnThumbprintMismatch.

Values for certificateType: 0 = WinRM, 1 = RDP, 2 = SSH.

Caution: The response can include the resource's service account details and trusted certificate thumbprints, so treat it as sensitive.

Request​

Responses​

Returns the resource.