createCSR
Create a certificate signing request.
createCSR(
input: CreateCSRInput
): CreateCSRPayload!
Example
- Query
- Variables
- Response
mutation ($input: CreateCSRInput) {
createCSR(input: $input) {
certificateId
}
}
{
"input": {
"clientId": 42,
"csr": {
"altNames": [
"altNames"
],
"commonName": "commonName",
"country": "Canada",
"emailAddress": "emailAddress",
"locality": "locality",
"organization": "organization",
"organizationUnit": "organizationUnit",
"state": "Quebec"
},
"domainName": "example.com"
}
}
{
"data": {
"createCSR": {
"certificateId": 42
}
}
}
Arguments
createCSR.input ● CreateCSRInput input common
The client, domain, and CSR details to generate.
Type
CreateCSRPayload object common
The result of creating a CSR.