Hanzo
OpenapiIam

Returns one role: who is in it, and the roles it includes.

Returns one role: who is in it, and the roles it includes.

GET /v1/iam/roles/{owner}/{name}

Addresshttps://api.hanzo.ai/v1/iam/roles/{owner}/{name}
MethodGET
Operationget_iam_roles_by_owner_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one role: who is in it, and the roles it includes.

Request

2 fields.

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes

Response

StatusBodyMeaning
200iam.Roleok

200 body — 14 fields.

FieldInTypeAlwaysDescription
createdAtbodystring (date-time)
createdTimebodystring
deletedbodyboolean
descriptionbodystring
displayNamebodystring
domainsbodystring[]
groupsbodystring[]
idbodystring
isEnabledbodyboolean
namebodystring
ownerbodystring
rolesbodystring[]
updatedAtbodystring (date-time)
usersbodystring[]

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page