Skip to main content
step
New Member
July 24, 2019
Question

Can you add and delete associated domains via the Fortimail Rest API?

  • July 24, 2019
  • 1 reply
  • 2739 views

I am able to get all domains (both associative and non-associative) using:

GET http://myfortimailserver.com/api/v1/domain

I can get a normal domain with the mkey

GET http://myfortimailserver.com/api/v1/domain/mydomain.com

But I cannot get an associative domain with the mkey, it 404's

GET http://myfortimailserver.com/api/v1/domain/myassociativedomain.com

Returns a 404:

{'errorType': 3, 'errorMsg': 'Failed to retrieve object :Get object (DomainSetting) '}

Is it possible to get an associative domain. If so how can they be created and deleted.

1 reply

step
stepAuthor
New Member
September 10, 2019

Hmmm, 6 weeks and not a single reply