计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
onelogin【效率与协作】Manage users and apps via OneLogin API. Handle SSO and identity management.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Identity and access management.
export ONELOGIN_CLIENT_ID="xxxxxxxxxx"
export ONELOGIN_CLIENT_SECRET="xxxxxxxxxx"
export ONELOGIN_REGION="us" # or eu
curl -X POST "https://api.$ONELOGIN_REGION.onelogin.com/auth/oauth2/v2/token" \
-u "$ONELOGIN_CLIENT_ID:$ONELOGIN_CLIENT_SECRET" \
-d "grant_type=client_credentials"
curl "https://api.$ONELOGIN_REGION.onelogin.com/api/2/users" \
-H "Authorization: Bearer $ACCESS_TOKEN"
curl -X POST "https://api.$ONELOGIN_REGION.onelogin.com/api/2/users" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "firstname": "John", "lastname": "Doe"}'