Gets IAM version
GEThttps://apis.<domain>/iam/policy_version
Returns the major and minor version of IAM that is running.
Authorization Action:
iam:policies:get
Request
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
version object
{
"version": {
"major": "V2",
"minor": "V1"
}
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://apis.<domain>/iam/policy_version' \
-H 'Accept: application/json'