REST Commands : Application Management Commands : Modify Application

Modify Application
An existing application’s schema is modified with the following REST command:
POST /_application/{application}
where {application} is the application’s name. The request must include the modified schema in XML or JSON as specified by the request’s content-type header. Because an application’s name cannot be changed, {application} must match the application name in the schema. If an application key was used in the original schema, the same key must be provided. If the application was defined without a key, a key can be added by including it in the updated schema. If the request is successful, a 200 OK response is returned with no message body.
Modifying an application replaces its current schema. All schema changes are allowed, including adding, modifying, and removing tables. However, there is no way to rename an existing table. If a table is removed, all of its existing data is deleted.