Skip to content

Commit 5395005

Browse files
feat(frontier): name the blocking entity kind on CheckOrganizationDelete
1 parent b1691cf commit 5395005

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

raystack/frontier/v1beta1/frontier.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,10 +1762,13 @@ message CheckOrganizationDeleteResponse {
17621762
// machine-readable reason, e.g. ACTIVE_SUBSCRIPTION, UNPAID_INVOICE,
17631763
// NEGATIVE_TOKEN_BALANCE
17641764
string type = 1;
1765-
// id of the blocking entity, e.g. a subscription or an invoice id
1765+
// id of the blocking entity
17661766
string subject = 2;
17671767
// what blocks the delete and what the caller can do about it
17681768
string message = 3;
1769+
// what kind of entity the subject id refers to, e.g.
1770+
// billing_subscription, billing_invoice, billing_account
1771+
string subject_type = 4;
17691772
}
17701773
// true when nothing blocks the delete right now
17711774
bool can_delete = 1;

0 commit comments

Comments
 (0)