Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 31
Server
Igor Balos edited this page Nov 13, 2017
·
2 revisions
For these API requests you will need to use a server API token. Once you obtain it, you will need to use server API client.
ApiClientclient = Postmark.getApiClient(<servertoken>);Retrieve server:
// retrieve serverServerserver = client.getServer();
Stringname = server.getName();Update server details:
// update serverServerserverData = newServer();
serverData.setName("new name");
Serverresponse = client.setServer(serverData);For additional information about the capabilities of the Postmark API, see Postmark Developers Documentation.