Examples of BoxUserDeleteRequestObject


Examples of com.box.boxjavalibv2.requests.requestobjects.BoxUserDeleteRequestObject

    public void deleteEnterpriseUser(String userId) throws Exception {
        final Map<String, Object> headers = new HashMap<String, Object>();
        // parameter type is String
        headers.put("CamelBox.userId", userId);
        // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxUserDeleteRequestObject
        final BoxUserDeleteRequestObject requestObject =
                BoxUserDeleteRequestObject.deleteEnterpriseUserRequestObject(false, true);
        headers.put("CamelBox.userDeleteRequest", requestObject);

        requestBodyAndHeaders("direct://DELETEENTERPRISEUSER", null, headers);
        // pause for user to be deleted completely
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.