deleteCustomContent method

Future<void> deleteCustomContent(
  1. int id
)

Delete a custom content by id.

Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to delete custom content in the space.

Implementation

Future<void> deleteCustomContent(int id) async {
  await _client.send(
    'delete',
    'custom-content/{id}',
    pathParameters: {
      'id': '$id',
    },
  );
}