简体中文
Update organization admin status for a user
cURL
curl --request PUT \ --url http://127.0.0.1:3000/api/admin/organization/{organizationId}/admin \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userId": "<string>", "isAdmin": true } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Organization admin status updated successfully.
此页面对您有帮助吗?