Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13735

[Atlas] Atlas API - Delete user Syntax

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • Atlas
    • None

    Description

      Description

      Using API as per https://docs.atlas.mongodb.com/reference/api/database-users-delete-a-user/ to delete x.509 user. Doc syntax didn't work. Had to escape the $external with "\":

       

      curl -i -u "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest -X DELETE "[https://cloud.mongodb.com/api/atlas/v1.0/groups/

      {GROUP|https://cloud.mongodb.com/api/atlas/v1.0/groups/%7BGROUP] ID}

      /databaseUsers/\$external/{User}"

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            zach.carr@mongodb.com Zachary Carr
            greg.cox@mongodb.com Greg Cox
            Zachary Carr Zachary Carr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 13 weeks, 4 days ago