Skip to content

[Bug]: SOA is not updating when deleting a record using the API. #804

@akops76

Description

@akops76

Describe the problem

I am writing a script to "add" and "delete" records from a zone.
When adding a new record, the SOA is increasing (as expected).
When deleting a existing record, the record is removed but the SOA remains the same. I searched at https://docs.poweradmin.org/configuration/api/ for a API call to increase the SOA manually but i could not find one.

Steps to reproduce

Run Delete API request: curl --silent -X DELETE -H "X-API-Key: APIKEY" -H "Content-Type: application/json" https://URL/api/v1/zones/$id/records/$idrec
where $id is ID number of the zone, and idrec is the ID number of the existing record.

The record is deleted. But SOA is not increased in the zone.

Poweradmin version

4.0.2

Database

MySQL

Additional information (optional)

No response

Metadata

Metadata

Assignees

Labels

apiAPI-related features, improvements, and integrations

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions