Configuration API

3. Updates an existing configuration

PUT /configurations/:app_id

Request

Headers

Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
X-Synapse-Data: {"account":{"id":"uuid","role_key":"root"}}
Host: example.org
Cookie: 

Route

PUT /configurations/ec1704fe-f3fb-407c-9f11-8ac22cca2c2b

Body

{
  "data": {
    "type": "configurations",
    "id": "ec1704fe-f3fb-407c-9f11-8ac22cca2c2b",
    "attributes": {
      "ios_certificate": "QmFnIEF0dHJpYnV0ZXMKICAgIGZyaWVuZGx5TmFtZTogQXBwbGUgRGV2ZWxv\ncG1lbnQgSU9TIFB1c2ggU2VydmljZXM6IGNvbS5uZWFyaXQuYXBwLmRlbW8K\nICAgIGxvY2FsS2V5SUQ6IERBIDhEIDg5IEQ4IEIxIDA3IENDIDRFIDkxIEQ0\nIENBIDgzIDlDIDFCIEI3IDI4IEQ0IDdGIDc2IDVDIApzdWJqZWN0PS9VSUQ9\nY29tLm5lYXJpdC5hcHAuZGVtby9DTj1BcHBsZSBEZXZlbG9wbWVudCBJT1Mg\nUHVzaCBTZXJ2aWNlczogY29tLm5lYXJpdC5hcHAuZGVtby9PVT0yNjc0MlZH\nNkJZL0M9VVMKaXNzdWVyPS9DPVVTL089QXBwbGUgSW5jLi9PVT1BcHBsZSBX\nb3JsZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9ucy9DTj1BcHBsZSBXb3JsZHdp\nZGUgRGV2ZWxvcGVyIFJlbGF0aW9ucyBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0\neQotLS0tLUJFR0lOIENFUlRJRklDQVRFLS0tLS0KTUlJRml6Q0NCSE9nQXdJ\nQkFnSUlWM1F4SVM5a0Q0NHdEUVlKS29aSWh2Y05BUUVGQlFBd2daWXhDekFK\nQmdOVgpCQVlUQWxWVE1STXdFUVlEVlFRS0RBcEJjSEJzWlNCSmJtTXVNU3d3\nS2dZRFZRUUxEQ05CY0hCc1pTQlhiM0pzClpIZHBaR1VnUkdWMlpXeHZjR1Z5\n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F0TDdSZC8wRmNGbW5hbmpM\nMHVVaDh0ZFJpMVJyclZrQ2dZQncrSENjOGFtSkhMbFMxT1ZwblpERQowVEtz\neWdzNDNsclNYdXYvTmxKU0hrNEU3Z0xHZXh2bm9mREMrRVIzSi95a3JYSEk3\nUkJTTkNqRDlFV0w4NXp3CllZazM5b0hFaVpydkN6b3R5d0JUT01Fc2lycExz\ndndiTTNFK09QN29lMFl5NFR3eGFVWmVsR281elR6dHMzQzYKVTNkNTlOUC9B\nZWN2NVpSNTdsdG1TUUtCZ0FvT05tV1R0VjV4ZDRtWkQyT3ZYL2I5Z0QwVllv\ndWU3ZDBocnFSZgpMRUdhdjlsUHZwL1lZNVJPdkluRFF6N1ZLRHArbW1LWm5L\nSVZ3cE03WUZPc1ppN1ZJWm5sUEVjc2c4TXFFTVN3ClRXVmJsZDIxT0JMZWE3\nWWltenJiRVBYbFNXTDJIYzhNeVRVeEZwY2pkdWtpNEJ4RzBWU2U2SUZwMGpP\ncjhWTHcKSmFPSkFvR0FkSXdPOThCTC9hWVAwTWh6eDlMMjVTRWUrUHE0OUJN\nR3BWVUlNcGs3aG9KUXBuWE83NkJBanFjbwo2OTZxb2huUWNEelZTYU5sTnBx\nU2xxdlpQKzdEZkViWDc5aVphQnJ0T3FLQlM4RkQ0S21xUG0yL1NjQXJpSkJo\nCitUVmRwcGpJRFc1UnR1NXRuYzhlRER6aEhONkFjbW0vZmwxQjlEMGxSdDk3\nRjhNanJVQT0KLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0KCg==\n"
    }
  }
}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: 235ea6f8-1dc1-4249-8a70-009d856ffe4e
X-Runtime: 0.013477

Status

200 OK