انتقل إلى المحتوى الرئيسي

Variable: SubjectCreateRequest

const SubjectCreateRequest: TObject<{ displayName: TString; kind: TLiteral<"organization">; parentPath: TOptional<TString>; slug: TString; }>

Defined in: packages/contracts/src/schemas/identity.ts:112

request.*.identity.subject.create.v1 request. The new subject's path is parentPath (default: the actor's scopePath) plus slug; the receiver refuses a parent outside the actor's scope.