Skip to main content

delete-attribution-group (deprecated)

Deprecated

This command is deprecated and may be removed in a future release.

restish dci delete-attribution-group id

Deletes the specified attribution group. The operation will fail if there are resources depending on this attribution group.

Responses

200

OK - Attribution group deleted.

400 (application/json)

Bad Request - The server cannot process the request, often due to a malformed request.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

401 (application/json)

Unauthorized - Invalid API key.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

404 (application/json)

Not Found - The requested resource does not exist.

{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

409 (application/json)

Conflict - The attribution group cannot be deleted because it is being used by other resources.

{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID of the attribution group that could not be deleted"
},
"error": {
"type": "string",
"description": "Error message explaining why the deletion failed",
"nullable": true
},
"resources": {
"type": "object",
"description": "Map of resources blocking the deletion. Only resource types that are blocking will be present in the response.\nFor attribution group deletion, possible blocking resources are: budgets, alerts, reports.\nFor attribution deletion, possible blocking resources are: budgets, alerts, reports, attributions, attributionGroups.\n",
"properties": {
"alerts": {
"type": "array",
"description": "List of alerts using this resource",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"name": {
"type": "string",
"description": "Resource name"
},
"owner": {
"type": "string",
"description": "Resource owner (only present if requester doesn't have access)"
}
}
}
},
"attributionGroups": {
"type": "array",
"description": "List of attribution groups using this resource (only applicable for attribution deletion)",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"name": {
"type": "string",
"description": "Resource name"
},
"owner": {
"type": "string",
"description": "Resource owner (only present if requester doesn't have access)"
}
}
}
},
"attributions": {
"type": "array",
"description": "List of attributions using this resource (only applicable for attribution deletion)",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"name": {
"type": "string",
"description": "Resource name"
},
"owner": {
"type": "string",
"description": "Resource owner (only present if requester doesn't have access)"
}
}
}
},
"budgets": {
"type": "array",
"description": "List of budgets using this resource",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"name": {
"type": "string",
"description": "Resource name"
},
"owner": {
"type": "string",
"description": "Resource owner (only present if requester doesn't have access)"
}
}
}
},
"reports": {
"type": "array",
"description": "List of reports using this resource",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource identifier"
},
"name": {
"type": "string",
"description": "Resource name"
},
"owner": {
"type": "string",
"description": "Resource owner (only present if requester doesn't have access)"
}
}
}
}
},
"example": {
"budgets": [
{
"id": "budget-id",
"name": "Example Budget"
}
]
}
}
},
"example": {
"id": "attribution-group-id",
"error": null,
"resources": {
"budgets": [
{
"id": "budget-id",
"name": "Example Budget"
}
]
}
}
}
}

Aliases: delete-attribution-group, deleteattributiongroup