Unable to create, update and delete okta authorization server with below URL and error.
error: json body was not well formed
URL : /api/v1/authorizationServers
{
"id": "ausain6z9zIedDCxB0h7",
"name": "Sample Authorization Server",
"description": "Authorization Server Description",
"audiences": "https://api.resource.com",
"issuer": "https://dev-341069.oktapreview.com/oauth2/ausain6z9zIedDCxB0h7",
"issuerMode": "ORG_URL",
"status": "ACTIVE",
"created": "2017-05-17T22:25:57.000Z",
"lastUpdated": "2017-05-17T22:25:57.000Z",
"credentials": {
"signing": {
"rotationMode": "AUTO",
"lastRotated": "2017-05-17T22:25:57.000Z",
"nextRotation": "2017-08-15T22:25:57.000Z",
"kid": "WYQxoK4XAwGFn5Zw5AzLxFvqEKLP79BbsKmWeuc5TB4"
}
},
"_links": {
"scopes": {
"href": "https://dev-341069.oktapreview.com/api/v1/authorizationServers/ausain6z9zIedDCxB0h7/scopes",
"hints": {
"allow": [
"GET"
]
}
},
"claims": {
"href": "https://dev-341069.oktapreview.com/api/v1/authorizationServers/ausain6z9zIedDCxB0h7/claims",
"hints": {
"allow": [
"GET"
]
}
},
"policies": {
"href": "https://dev-341069.oktapreview.com/api/v1/authorizationServers/ausain6z9zIedDCxB0h7/policies",
"hints": {
"allow": [
"GET"
]
}
}
},
"self": {
"href": "https:{yourOktaDomain}/api/v1/authorizationServers/ausain6z9zIedDCxB0h7",
"hints": {
"allow": [
"GET",
"DELETE",
"PUT"
]
}
},
"metadata": [
{
"name": "oauth-authorization-server",
"href": "https://dev-341069.oktapreview.com/oauth2/ausain6z9zIedDCxB0h7/.well-known/oauth-authorization-server",
"hints": {
"allow": [
"GET"
]
}
},
{
"name": "openid-configuration",
"href": "https://dev-341069.oktapreview.com/oauth2/ausain6z9zIedDCxB0h7/.well-known/openid-configuration",
"hints": {
"allow": [
"GET"
]
}
}
],
"rotateKey": {
"href": "https://dev-341069.oktapreview.com/api/v1/authorizationServers/ausain6z9zIedDCxB0h7/credentials/lifecycle/keyRotate",
"hints": {
"allow": [
"POST"
]
}
},
"deactivate": {
"href": "https://dev-341069.oktapreview.com/api/v1/authorizationServers/ausain6z9zIedDCxB0h7/lifecycle/deactivate",
"hints": {
"allow": [
"POST"
]
}
}
}
}