Hi,
I need to delete Jira Service Management portal-only customers through an API.
I have tried the Jira Cloud Delete user endpoint:
DELETE /rest/api/3/user?accountId=<accountId>
This works for some customers, but it fails when the portal-only customer has request/comment history. I also cannot delete the comments because the author is a portal-only customer, not a normal Atlassian user.
The only method that works for these customers is deleting them manually through the Atlassian Admin UI under Jira Service Management > Portal-only customers.
I’m aware of the revoke portal-only access endpoint:
PUT /rest/servicedeskapi/customer/user/{accountId}/revoke-portal-only-access
However, this only revokes access and does not delete the customer.
Is there any public REST API equivalent to the UI “Delete customer” action for portal-only customers? If not, is there an existing feature request or roadmap item for this?
Thanks.