Skip to content

playbook

Manage Fabric Playbooks

Authentication scope: fabric

List Playbooks in a workspace

Terminal window
fabio playbook list --workspace <value>
Flag Type Required Description
--workspace string Yes

Read-only · Returns list

Show a Playbook

Terminal window
fabio playbook show --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes
--id string Yes

Read-only · Returns object

Create a Playbook

Terminal window
fabio playbook create --workspace <value> --name <value>
Flag Type Required Description
--workspace string Yes
--name string Yes
--description string No
--folder-id string No
--sensitivity-label string No
--definition string No PlaybookV1 definition content (inline or @file)

Mutates state · Returns object

Update Playbook metadata

Terminal window
fabio playbook update --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--name string No
--description string No

Mutates state · Returns void

Delete a Playbook

Terminal window
fabio playbook delete --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes
--id string Yes

Mutates state · Destructive · Returns void

Get a Playbook definition

Terminal window
fabio playbook get-definition --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--decode bool No

Read-only · Returns object

Replace a Playbook definition

Terminal window
fabio playbook update-definition --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--file string No
--content string No

Mutates state · Destructive · Returns void

Create, update, or rename a section

Terminal window
fabio playbook put-section --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--description string No Description; omission resets it to an empty string
--rename-source string No Existing logical path when renaming

Mutates state · Returns object

Get a section

Terminal window
fabio playbook get-section --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name

Read-only · Returns object

Delete a section

Terminal window
fabio playbook delete-section --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--recursive bool No Delete all descendants

Mutates state · Destructive · Returns void

List groups in a section context root

Terminal window
fabio playbook list-groups --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name

Read-only · Returns list

Create, update, or rename a group

Terminal window
fabio playbook put-group --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--description string No Description; omission resets it to an empty string
--rename-source string No Existing logical path when renaming

Mutates state · Returns object

Get a group

Terminal window
fabio playbook get-group --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name

Read-only · Returns object

Delete a group

Terminal window
fabio playbook delete-group --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--recursive bool No Delete all descendants

Mutates state · Destructive · Returns void

List direct section role assignments

Terminal window
fabio playbook list-section-role-assignments --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name

Read-only · Returns list

Add a direct section role assignment

Terminal window
fabio playbook add-section-role-assignment --workspace <value> --id <value> --path <value> --principal-id <value> --principal-type <value> --role <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--principal-id string Yes
--principal-type enum Yes One of: User, Group, ServicePrincipal.
--role enum Yes One of: user, curator.

Mutates state · Returns object

Update a direct section role assignment

Terminal window
fabio playbook update-section-role-assignment --workspace <value> --id <value> --path <value> --principal-id <value> --role <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--principal-id string Yes
--role enum Yes One of: user, curator.

Mutates state · Returns void

Delete a direct section role assignment

Terminal window
fabio playbook delete-section-role-assignment --workspace <value> --id <value> --path <value> --principal-id <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--principal-id string Yes

Mutates state · Destructive · Returns void

Create or replace a context

Terminal window
fabio playbook put-context --workspace <value> --id <value> --path <value> --summary <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--summary string Yes Non-empty summary, maximum 2,048 UTF-8 bytes
--content-type enum No One of: application/zip, text/markdown, text/plain.
--data string No Base64-encoded content
--reference string No Polymorphic ContextReference JSON (inline or @file)

Mutates state · Destructive · Returns object

Get a context

Terminal window
fabio playbook get-context --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--include-content bool No

Read-only · Returns object

Update only a context summary

Terminal window
fabio playbook update-context --workspace <value> --id <value> --path <value> --summary <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--summary string Yes

Mutates state · Returns void

Delete a context

Terminal window
fabio playbook delete-context --workspace <value> --id <value> --path <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name

Mutates state · Destructive · Returns void

Download a context’s stored ZIP package

Terminal window
fabio playbook get-context-content --workspace <value> --id <value> --path <value> --output-file <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--path string Yes Complete logical resource path rooted at the Playbook display name
--output-file string Yes

Read-only · Returns object

Get the calling identity’s Playbook preference

Terminal window
fabio playbook get-user-preference --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes
--id string Yes

Read-only · Returns object

Update the calling identity’s Playbook preference

Terminal window
fabio playbook update-user-preference --workspace <value> --id <value> --active <value>
Flag Type Required Description
--workspace string Yes
--id string Yes
--active enum Yes One of: true, false.

Mutates state · Returns void