Mutation
create_folder_platform_authentication
Add a new platform authentication to a folder
Return Fields
platform_authentication():
PlatformAuthentication!
Example
Query
mutation CreateFolderPlatformAuthentication($input: CreateFolderPlatformAuthenticationInput!) {
create_folder_platform_authentication(input: $input) {
platform_authentication {
id
destination_host
type
username
}
}
}
Variables
{
"input": {
"folder_id": "1",
"platform_authentication": {
"destination_host": "example.com",
"password": "example-password",
"type": "basic",
"username": "scanner"
}
}
}
Result
{
"data": {
"create_folder_platform_authentication": {
"platform_authentication": {
"id": "1",
"destination_host": "example.com",
"type": "basic",
"username": "scanner"
}
}
}
}