Skip to main content
SaltStack Support

How to delete a master from SSE 6.0.1



Python script to delete master object from SSE

import pprint

from sseapiclient.tornado import SyncClient
client = SyncClient.connect('https://localhost', 'root', 'salt', ssl_validate_cert=False)

ret = client.api.master.delete_master('master_id')

Note: use master_id or master_uuid, but not both.

Execute the script from a Salt Master (or other server) with the SSE plugin installed

  • Was this article helpful?