Mutations
deleteHubScopedPropertyDefinition
Deletes a hub-scoped property definition.
Template for Mutation:
mutation DeleteHubScopedPropertyDefinition($input: deleteHubScopedPropertyDefinitionInput!){
deleteHubScopedPropertyDefinition(input: $input) {
# DeleteHubScopedPropertyDefinitionPayload Fields
}
}
Arguments
| input* | The input needed to delete a hub |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| DeleteHubScopedPropertyDefinitionPayload | Response of delete hub-scoped property definition operation. |
Examples
Example 1
Permanently deletes a hub-scoped property definition by hub ID and property definition ID. Returns the ID of the deleted property definition.
Query:
mutation DeleteHubScopedPropertyDefinition($input: DeleteHubScopedPropertyDefinitionInput!) {
deleteHubScopedPropertyDefinition(input: $input) {
propertyDefinitionId
}
}
Query Variables:
{
"input": {
"hubId": "urn:adsk.ace:beta.scope:02dd340f-3e84-4db8-b6a1-56a964a202c7",
"propertyDefinitionId": "cHJvcGRlZn4yMTU5NTk2Nn4yMTU5NTk2Nl9IU0NQfjIxNTk1OTY2X0hTQ1B-cGFyYW1ldGVycy4yMTU5NTk2Njo1NGQ4OWNkOGE4MDk0N2JmYWM0M2ExYmFmZDg0Mzk0OS0xLjAuMA"
}
}
Response:
{
"data": {
"deleteHubScopedPropertyDefinition": {
"propertyDefinitionId": "cHJvcGRlZn4yMTU5NTk2Nn4yMTU5NTk2Nl9IU0NQfjIxNTk1OTY2X0hTQ1B-cGFyYW1ldGVycy4yMTU5NTk2Njo1NGQ4OWNkOGE4MDk0N2JmYWM0M2ExYmFmZDg0Mzk0OS0xLjAuMA"
}
}
}