Acquisition of user authentication method information (GET /v3/users/{user_id}/auth_type)
Acquires authentication method information.
Acquires authentication method information related to a specified user.
Request headers
X-Auth-Token
Valid authentication token
Data type | Cardinality |
---|---|
xsd:string | 1..1 |
Request parameters
user_id
User ID (required)
Data type | Cardinality | Parent element | Child element |
---|---|---|---|
xsd:string | 1..1 | None | None |
Response headers
HTTP status code
Returns the HTTP status code of the request.
One of the following values will be returned.
- 200:
- Normal completion
- 400:
- Invalid access (invalid parameter, etc.)
- 401:
- Authentication error
- 403:
- Cannot access (no privileges)
- 404:
- No applicable resources
- 413:
- overLimit
- 500:
- Unexpected error
- 501:
- Has not been implemented
- 503:
- Cannot use service
Data type | Cardinality |
---|---|
int | 1..1 |
Response elements
user
user object
Data type | Cardinality | Parent element | Child element |
---|---|---|---|
xsd:string | 1..1 | None | auth_type |
auth_type
Authentication method
Data type | Cardinality | Parent element | Child element |
---|---|---|---|
xsd:string | 1..1 | None | None |
Example of response
{
"user": {
"auth_type": "password"
}
}