Mutation
create_site_platform_authentication
Add a new platform authentication to a site
Return Fields
platform_authentication():
PlatformAuthentication!
Example
Query
mutation CreateSitePlatformAuthentication($input: CreateSitePlatformAuthenticationInput!) {
create_site_platform_authentication(input: $input) {
platform_authentication {
id
destination_host
type
username
}
}
}
Variables
{
"input": {
"platform_authentication": {
"destination_host": "example.com",
"password": "example-password",
"type": "basic",
"username": "scanner"
},
"site_id": "1"
}
}
Result
{
"data": {
"create_site_platform_authentication": {
"platform_authentication": {
"id": "1",
"destination_host": "example.com",
"type": "basic",
"username": "scanner"
}
}
}
}