/api/space/domain-management/domains/{domain-id}/users/{user-id}

The following operations are supported on this resource:

  • GET - Get a single user belonging to the domain
  • DELETE - Get a single user belonging to the domain
GET /domains/{domain-id}/users/{user-id} Version 1

Get a single user belonging to the domain.

Sample Usage

GET /domains/{domain-id}/users/{user-id}


  • Parameters:
    Name Type URI Type Description Required
    domain-id Integer Path Domain ID Y
    user-id Integer Path User ID Y
  • Sample Output XML:
    <user uri="/api/space/domain-management/domains/819407/users/819514">    href="/api/space/user-management/users/819514">
       <id>819514</id>
       <name>test</name>
    </user>

  • Sample Output JSON:
    {
       "user" : {
         "@uri" : "/api/space/domain-management/domains/819407/users/819514" ,
         "@href" : "/api/space/user-management/users/819514" ,
         "id" : 819514 ,
         "name" : "test"
       }
    }

  • Access Control

    The following capabilities are required to access this API: AssignDomain2User

    DELETE /domains/{domain-id}/users/{user-id} Version 1

    Remove the user from the domain. User needs to be assigned to another domain, in order for the deletion to succeed. Otherwise, a 412 (Precondition Failed) error will be returned.

    Sample Usage

    DELETE /domains/{domain-id}/users/{user-id}


    • Parameters:
      Name Type URI Type Description Required
      domain-id Integer Path Domain ID Y
      user-id Integer Path User ID Y

    Access Control

    The following capabilities are required to access this API: AssignDomain2User