@ -106,47 +106,60 @@ EXAMPLES = r'''
RETURN = r '''
RETURN = r '''
data :
data :
description : Information about the created or manipulated object .
description : List of administrators .
returned : info
returned : success
type : list
type : complex
sample :
contains :
[
email :
{
description : Email address of administrator .
" email " : " john@doe.com " ,
returned : success
" id " : " 12345677890 " ,
type : string
" name " : " John Doe " ,
sample : your @email.com
" networks " : [ ] ,
id :
" orgAccess " : " full " ,
description : Unique identification number of administrator .
" tags " : [ ]
returned : success
}
type : string
]
sample : 1234567890
changed :
name :
description : Whether object changed as a result of the request .
description : Given name of administrator .
returned : info
returned : success
type : string
type : string
sample :
sample : John Doe
" changed " : false
networks :
description : List of networks administrator has access on .
status :
returned : success
description : HTTP response code
type : complex
returned : info
contains :
type : int
id :
sample :
description : The network ID .
" status " : 200
returned : when network permissions are set
type : string
response :
sample : N_0123456789
description : HTTP response description and bytes
access :
returned : info
description : Access level of administrator . Options are ' full ' , ' read-only ' , or ' none ' .
type : string
returned : when network permissions are set
sample :
type : string
" response " : " OK (unknown bytes) "
sample : read - only
tags :
failed :
description : Tags the adminsitrator has access on .
description : Boolean value whether the task failed
returned : success
returned : info
type : complex
type : bool
contains :
sample :
tag :
" failed " : false
description : Tag name .
returned : when tag permissions are set
type : string
sample : production
access :
description : Access level of administrator . Options are ' full ' , ' read-only ' , or ' none ' .
returned : when tag permissions are set
type : string
sample : full
orgAccess :
description : The privilege of the dashboard administrator on the organization . Options are ' full ' , ' read-only ' , or ' none ' .
returned : success
type : string
sample : full
'''
'''
import os
import os