Skip to main content

JitActivationCallerMetadata

Properties​

NameTypeDescriptionNotes
TypeStringRequest origin type. Matches requestOrigin when both are sent.[optional]
SlackUserIdStringSlack user identifier of the caller.[optional]
CommandTextStringSlack command text that produced this request.[optional]
ChannelIdStringSlack channel identifier.[optional]
ThreadIdStringSlack thread identifier of the message that produced this request.[optional]
MessageIdStringSlack message identifier of the message that produced this request.[optional]
WorkspaceIdStringSlack workspace identifier.[optional]

Examples​

  • Prepare the resource
$JitActivationCallerMetadata = Initialize-JitActivationCallerMetadata -Type slack `
-SlackUserId U123 `
-CommandText /jit activate `
-ChannelId C456 `
-ThreadId 1699887766.123456 `
-MessageId 1699887770.654321 `
-WorkspaceId T789
  • Convert the resource to JSON
$JitActivationCallerMetadata | ConvertTo-JSON

[Back to top]