Skip to content

Variable: ForbiddenActionResponseSchema ​

ts
const ForbiddenActionResponseSchema: ZodObject<{
  context: ZodObject<{
     allowed: ZodLiteral<false>;
     reason: ZodObject<{
        key: ZodCustom<
           | string & object
           | "administrative"
           | "administrative.notMyself"
           | "authPolicy.saml"
           | "blocked.exportControl"
           | "externalDirectory.scim"
           | "externalDirectory.google"
           | "myselfOnly"
           | "managedAccount", 
           | string & object
           | "administrative"
           | "administrative.notMyself"
           | "authPolicy.saml"
           | "blocked.exportControl"
           | "externalDirectory.scim"
           | "externalDirectory.google"
           | "myselfOnly"
          | "managedAccount">;
     }, ApiObjectConfig<undefined>>;
  }, ApiObjectConfig<undefined>>;
  key: ZodCustom<string & object | "forbidden.action", string & object | "forbidden.action">;
}, ApiObjectConfig<undefined>>;

Defined in: src/userManagement/models/forbiddenActionResponse.ts:5