Revoke

Revoke creation of custom types

revoke create -mt maintype -ct customtype -tn technicalname

Revokes the right to create objects of the given custom type from the given user/usergroup.

Parameters

  • mt maintype

    Can be one of the following:

    • Application
    • Artifact
    • ArtifactSource
    • Component
    • DeploymentTarget
    • Environment
    • Package
    • PackageDependency
    • Reservation
    • Workflow
  • ct customtype

    The name of the custom type to which the right should be revoked.

  • tn technicalname

    The technical name of the user/usergroup from which the permission on the object type should be revoked.

Return codes

  • 20

    The given main type was not found

    Shortname: Main type not found

  • 21

    The given custom type was not found

    Shortname: Custom type not found

  • 26

    No user or usergroup with the given technical name exists

    Shortname: User/usergroup not found