deleteUserProperty method

Future<void> deleteUserProperty({
  1. required String userId,
  2. required String key,
})

Deletes a property for the given user. For more information about user properties, see Confluence entity properties. Note, these properties stored against a user are on a Confluence site level and not space/content level.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

Implementation

Future<void> deleteUserProperty(
    {required String userId, required String key}) async {
  await _client.send(
    'delete',
    'wiki/rest/api/user/{userId}/property/{key}',
    pathParameters: {
      'userId': userId,
      'key': key,
    },
  );
}