MarkLogic 12 Product Documentation
admin.revokeDynamicHostToken

admin.revokeDynamicHostToken(
   tokens as String[]
) as null

Summary

This function revokes an active dynamic host token issued by MarkLogic.

Parameters
tokens A list of dynamic host tokens to be revoked.

Required Privileges

This operation requires the following privilege:

http://marklogic.com/xdmp/privileges/admin/revoke-dynamic-host-token

Example


  const admin = require('/MarkLogic/admin.xqy');

  admin.revokeDynamicHostToken(('eyJ....', 'eyJ....'))
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy