/instances
Creates an instance. This will automatically generate a new instance ZUID and the user making the Create Instance request will be set as the Owner.
URL Endpoint
https://accounts.api.zesty.io/v1/instances
Authentication Header
Bearer YOUR_APP_SID
Request Body
{
"name": "Test Instance with database defaults"
}
Update permissions for a given user and content instance. Takes one of following values for the query param action
.
updateEcosystem
updateDomain
updateBlueprint
purgeCache
URL Endpoint
https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx
Authentication Header
Bearer YOUR_APP_SID
Request Body
{
"name": "Updated Instance Name"
}
Erases the current instance and replaces instance with the specified blueprint
Warning: This is a destructive action and is NOT reversible.
URL Endpoint
https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx/blueprints
Authentication Header
Bearer YOUR_APP_SID
Request Body
{
"blueprintZUID": "{{blueprint_zuid}}"
}
Update permissions for a given user and content instance. Takes one of following values for thea query param action
.
updateEcosystem
updateDomain
updateBlueprint
purgeCache
URL Endpoint
https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx?action=purgeCache
Authentication Header
Bearer YOUR_APP_SID