Uploaded image for project: 'Identity'
  1. Identity
  2. ID-7677

Org API does not work for unverified accounts

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • Profile - View
    • None

      Issue Summary

      Org APIs cannot be used on the managed accounts that are unverified.

      https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-users/#api-users-account-id-manage-profile-get

      Steps to Reproduce

      1. Try to edit the name of an unverified account via API

      Expected Results

      As working in the managed account UI, the rename for the unverified accounts should be allowed via API.

      Actual Results

      The API calls fail and doesn't seem to recognize the unverified account as a managed account.

      $ curl --request PATCH   --url 'https://api.atlassian.com/users/<AAID_ UnverifiedAccount>/manage/profile' 
      
      {"key":"forbidden","context":"Error: Caller must be an org admin of targeted account or be the targeted account","errorKey":"forbidden","errorDetail":"Error: Caller must be an org admin of targeted account or be the targeted account"
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            [ID-7677] Org API does not work for unverified accounts

            There are no comments yet on this issue.

              nmaesepp Nicholas M
              rmacalinao Ramon M
              Affected customers:
              4 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: