{
"count": 1,
"role": {
"__meta__": {
"user:rd": "op"
},
"description": "test create network",
"dry_run": false,
"generate_name": "test###",
"is_emulated": true,
"is_public": true,
"name": "test-network",
"project_domain_id": "string",
"public_scope": "string"
}
}curl --location --request POST 'https://example.com:30888/roles' \
--header 'Content-Type: application/json' \
--data-raw '{
"count": 1,
"role": {
"__meta__": {
"user:rd": "op"
},
"description": "test create network",
"dry_run": false,
"generate_name": "test###",
"is_emulated": true,
"is_public": true,
"name": "test-network",
"project_domain_id": "string",
"public_scope": "string"
}
}'{
"role": {
"can_delete": true,
"can_update": true,
"created_at": "2019-08-24T14:15:22.123Z",
"delete_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"deleted": true,
"deleted_at": "2019-08-24T14:15:22.123Z",
"description": "string",
"domain_id": "string",
"extra": {},
"group_count": 0,
"id": "string",
"is_emulated": true,
"is_public": true,
"match_policies": [
"string"
],
"metadata": {
"property1": "string",
"property2": "string"
},
"name": "string",
"org_node_md5": "string",
"pending_deleted": true,
"pending_deleted_at": "2019-08-24T14:15:22.123Z",
"policies": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"project_count": 0,
"project_domain": "string",
"public_scope": "string",
"public_src": "local",
"shared_domains": [
{
"id": "string",
"name": "string"
}
],
"shared_projects": [
{
"domain": "string",
"domain_id": "string",
"id": "string",
"name": "string"
}
],
"update_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"update_version": 0,
"updated_at": "2019-08-24T14:15:22.123Z",
"user_count": 0
}
}