File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export default function contentstackClient ({ http }) {
8282 * import * as contentstack from '@contentstack/management'
8383 * const client = contentstack.client()
8484 *
85- * client.stack({ api_key: 'api_key', management_token: 'management_token' }).fetch()
85+ * client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid'). fetch()
8686 * .then((stack) => console.log(stack))
8787 *
8888 */
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export function Organization (http, data) {
7575 * import * as contentstack from '@contentstack/management'
7676 * const client = contentstack.client()
7777 *
78- * client.stack({ api_key: 'api_key'} ).transferOwnership('emailId')
78+ * client.organization('organization_uid' ).transferOwnership('emailId')
7979 * .then((response) => console.log(response.notice))
8080 *
8181 */
Original file line number Diff line number Diff line change @@ -579,13 +579,6 @@ export function Stack (http, data) {
579579 * import * as contentstack from '@contentstack/management'
580580 * const client = contentstack.client()
581581 *
582- * client.organization('org_uid').stack().create({name: 'My New Stack'})
583- * .then((stack) => console.log(stack))
584- *
585- * @example
586- * import * as contentstack from '@contentstack/management'
587- * const client = contentstack.client()
588- *
589582 * client.stack().create({name: 'My New Stack'}, { organization_uid: 'org_uid' })
590583 * .then((stack) => console.log(stack))
591584 */
You can’t perform that action at this time.
0 commit comments