List projects for user#

ユーザーがアクセスできるプロジェクトを一覧表示します。

APIエンドポイント#

リージョン APIエンドポイント
西日本リージョン3の場合 https://identity.jp-west-3.cloud.global.fujitsu.com
東日本リージョン3の場合 https://identity.jp-east-3.cloud.global.fujitsu.com

HTTPメソッドとURI#

GET

/v3/users/{user_id}/projects

HTTPステータスコード#

正常時:200

エラー時:400, 401, 403, 404

リクエストパラメータの説明#

名前 In Type デフォルト値
/必須指定
Description
user_id path string 必須 ユーザーのID

レスポンスボディ(正常系)の説明#

名前 Type Description
projects array プロジェクトのリスト
description string リージョンの説明
domain_id string ドメインのID
enabled boolean 「true」の場合は、ユーザーが有効で、「false」の場合は、ユーザーが無効です。
id integer リソースのID
links object リソースへのリンクURL
self object リソース自身へのリンクURL
name string リソースの名前
parent_id integer 親ドメインのID

レスポンス例#

{
    "projects": [
        {
            "description": "description of this project",
            "domain_id": "161718",
            "enabled": true,
            "id": "456788",
            "links": {
                "self": "http://example.com/identity/v3/projects/456788"
            },
            "name": "a project name",
            "parent_id": "212223"
        },
        {
            "description": "description of this project",
            "domain_id": "161718",
            "enabled": true,
            "id": "456789",
            "links": {
                "self": "http://example.com/identity/v3/projects/456789"
            },
            "name": "another domain",
            "parent_id": "212223"
        }
    ],
    "links": {
        "self": "http://example.com/identity/v3/users/313233/projects",
        "previous": null,
        "next": null
    }
}