putAddonProperty method

Future<OperationMessage> putAddonProperty({
  1. required String addonKey,
  2. required String propertyKey,
  3. required dynamic body,
})

Sets the value of an app's property. Use this resource to store custom data for your app.

The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.

Permissions required: Only a Connect app whose key matches addonKey can make this request.

Implementation

Future<OperationMessage> putAddonProperty(
    {required String addonKey,
    required String propertyKey,
    required dynamic body}) async {
  return OperationMessage.fromJson(await _client.send(
    'put',
    'rest/atlassian-connect/1/addons/{addonKey}/properties/{propertyKey}',
    pathParameters: {
      'addonKey': addonKey,
      'propertyKey': propertyKey,
    },
    body: body,
  ));
}