Apigeetool: How to Create a User with Custom Attributes

Using the SDK (apigeetool.getPromiseSDK()) I've tried several variations of the following, all to no avail:

var opts = {

--- SNIP ---

email: "fred@blogs.com",

customAttributes: [{name:"attrb_1", value:"foogoobar"}]

}

Any ideas?

0 3 195
3 REPLIES 3

I've got it to work using the Management API - but as we're using "apigeetool" for most of our deployments we'd like to get this working using the "apigeetool".

You may have to file a pull request!

I know you asked about apigeetool. If you can tolerate a different tool, you can use apigee-edge-js to do it. Here's an example:
https://github.com/DinoChiesa/apigee-edge-js/blob/master/examples/createDeveloper.js

Hey, you can also give edge-launchpad a try.

It is gulp based deployment tool, which also helps orchestrating the deployment.