approverCreate
Create an approver. The approverCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: security:write
For a complete list of input attributes see the ApproverAttributes type
mutation approverCreate ($attributes: ApproverAttributes!) {
approverCreate (attributes: $attributes) {
approver {
id
name
userId
}
errors
}
}
ArgumentsLink to Arguments section
{
"attributes": {
"name": "",
"userId": "456123"
}
}
| Name | Type | Description |
|---|---|---|
| attributes | ApproverAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| approver | Approver | |
| errors | List (String) |