Skip to main content

Create a resource

POST 

/api/v1/ManagedResource

Creates a resource record and returns it. Use it to create the record for a host or an Active Directory domain when you already have its details. Only one resource of a given type can exist for a host or a domain configuration.

Permission required: Administrator signed in with multifactor authentication, or an application account.

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

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

Caution: The resource is created immediately and the call does not validate that the host or service account is reachable.

Request​

Responses​

Returns the created resource.