internal role data
a promise that resolves to an internal role object
Create an empty internal role export template
an empty internal role export template
Delete internal role
internal role uuid
a promise that resolves to an internal role object
Delete internal role by name
internal role name
a promise that resolves to an internal role object
Delete all internal roles
a promise that resolves to an array of internal role objects
Export internal role. The response can be saved to file as is.
internal role uuid
Promise resolving to an InternalRoleExportInterface object.
Export internal role by name. The response can be saved to file as is.
internal role name
Promise resolving to an InternalRoleExportInterface object.
Export all internal roles. The response can be saved to file as is.
Promise resolving to an InternalRoleExportInterface object.
Import first internal role. The import data is usually read from an internal role export file. Only the first role of the import data is imported.
internal role import data.
a promise resolving to an array that holds the imported internal role
Import internal role. The import data is usually read from an internal role export file.
internal role uuid
internal role import data.
Promise resolving to an internal role object.
Import internal role by name. The import data is usually read from an internal role export file.
internal role name
internal role import data.
Promise resolving to an internal role object.
Import internal roles. The import data is usually read from an internal role export file. Every role is tried: a role that cannot be imported does not stop the others.
internal role import data.
OptionalresultCallback: ResultCallback<InternalRoleSkeleton>
Optional callback to process individual results. When given, the outcome of every role is passed to it as it happens (a failed role as an error that names it, with the cause nested) and a failed role does not throw: the roles that could be imported are returned. Without it, the failures are collected and thrown as one error after every role was tried.
Query internal roles
CREST search filter
Optionalfields: string[]
array of fields to return
Read internal role
internal role uuid
a promise that resolves to an internal role object
Read internal role by name
internal role name
a promise that resolves to an internal role object
Read all internal roles. Results are sorted aphabetically.
a promise that resolves to an array of internal role objects
Update internal role
internal role uuid
internal role data
a promise that resolves to an internal role object
Create internal role