Skip to main content

Get one action template parameter by its ID

GET 

/api/v1/ActionTemplate/parameter/:templateId

Returns a single action template parameter, such as its name, type, whether it is required and its default value. The ID in the path is matched against the parameter's own ID, not the template's; to list all parameters of a template, get the template and read its actionTemplateParameter array.

Permission required: Requires the Admin or App role.

Values for type: 0 = PowerShell, 1 = Integer, 2 = DateTime, 3 = Credential, 4 = SecureString, 5 = String, 6 = KeyValue, 7 = Guid, 8 = HostId, 9 = UserId, 10 = ManagedResourceId, 11 = ManagedAccountId, 12 = UserCredential, 13 = DomainId, 14 = SessionId, 15 = DomainCredential, 16 = DomainConfigurationId, 17 = Boolean, 18 = ReportId.

Request​

Responses​

The template parameter.