Details
-
Bug
-
Resolution: Fixed
-
Low
-
1
-
Minor
-
Description
Issue Summary
The Get user management permissions documentation page is missing information about mfa.read and mfa.unenroll query parameters:
QUERY PARAMETERS
privileges
Array<string>
Valid values: profile, profile.write, profile.read, email.set, email.initiateChange - lifecycle.enablement, linkedAccounts.read, apiToken.read, apiToken.delete, avatar, privacy.set
However, the same parameters are mentioned in the "Responses" section:
email.set: set a new value for the user's email address - email.initiateChange: initiate an email address change - mfa.read: read the current MFA enrollment state for the user - mfa.unenroll: unenroll the user from MFA ......
The parameter is there and it is working fine, it should therefore be added to the list of the valid values:
curl -H 'Authorization: Bearer <API_KEY>' -H 'Accept: application/json' -X GET https://api.atlassian.com/users/<ACCOUNT_ID>/manage?privileges=mfa.read
{"mfa.read":{"allowed":true}}