Delete a user

delete

/swm/rs/v1/users/{userId}

Delete a specific user from the system, and remove ALL of the user's space memberships.

A user can only delete himself/herself, thus the specified userId has to be the same as that of the API user.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

user resource deleted

403 Response

user resource action forbidden

404 Response

user resource not found
Back to Top

Examples

Sample Request:

       DELETE swm/rs/v1/users/nNGCePPATZMzzpCm    

Sample Response:

       {"response":{"code":"200.2","developerMessage":"user resource deleted" },
        "userId":"nNGCePPATZMzzpCm"
       }    

Possible Error Codes:

       {
          "code":"404.0","developerMessage":"user resource not found"
       }    
Back to Top