validateProjectKey method
Validates a project key by confirming the key is a valid string and not in use.
Permissions required: None.
Implementation
Future<ErrorCollection> validateProjectKey({String? key}) async {
return ErrorCollection.fromJson(await _client.send(
'get',
'rest/api/3/projectvalidate/key',
queryParameters: {
if (key != null) 'key': key,
},
));
}