如何使用 SCIM API 更新用户的当前状态?

How to update a User's Current Status using the SCIM API?

我正在尝试更新 SCIM API 支持的用户 Current Status field using the SCIM API. I'm aware this field can be updated using the users.profile.set POST API. How can I update the profile block of a user object using the SCIM API? I looked through the user attributes,但我没有看到 profile 块或 status_text 等嵌套字段, status_emoji, status_expiration 在此列表中。

不能使用 SCIM api 设置presence
SCIM Users 的 API 仅适用于 User Attributes

User Attributes
Attributes are the details associated with a user's account. These are the details that someone would typically set in their profile (for example, by clicking the Edit Profile button in the Slack application).

https://api.slack.com/scim#scim-api-endpoints__users__user-attributes

要设置 'User Presence',您需要常规的 slack API,但这需要用户的令牌。