Overview
/
Developer Tools
/
API Reference
/
Users
/
Update a personal OAuth app.

Update a personal OAuth app

Path parameters

  • /{client_id}

    stringUUID
    //

HTTP Request

  • application/json

    //
    • name:

      string,
      //
    • :

      [[ ... ],
      //
      • stringURL
      ]
    • :

      [[ ... ],
      //
      • one of

        "device_code"+3
        • //OAuth 2.0 Device Authorization Grant.
          "device_code"
        • //OAuth 2.0 Authorization Code Grant.
          "authorization_code"
        • //OAuth 2.0 Refresh Token Grant.
          "refresh_token"
        • //OAuth 2.0 Client Credentials Grant.
          "client_credentials"
        //
      ]
    • mode:

      "development"+1
      • //Development mode permits HTTPS redirect URIs and local HTTP redirect URIs. Only the app owner, or an org admin for organization apps, can authorize development apps.
        "development"
      • //Production mode only permits secure non-local redirect URIs.
        "production"
      //
    }

Response

  • 200 OK
    • //
      • client_id:

        stringUUID,
        //
      • created_at:

        stringISO-8601,
        //
      • first_party:

        boolean,
        //
      • is_active:

        boolean,
        //
      • name:

        string,
        //
      • :

        [[ ... ],
        //
        • stringURL
        ]
      • updated_at:

        stringISO-8601,
        //
      • client_type:

        "public"+1
        • //A public client.
          "public"
        • //A confidential client.
          "confidential"
        ,
        //
      • :

        [[ ... ],
        //
        • one of

          "device_code"+3
          • //OAuth 2.0 Device Authorization Grant.
            "device_code"
          • //OAuth 2.0 Authorization Code Grant.
            "authorization_code"
          • //OAuth 2.0 Refresh Token Grant.
            "refresh_token"
          • //OAuth 2.0 Client Credentials Grant.
            "client_credentials"
          //
        ]
      • mode:

        "development"+1
        • //Development mode permits HTTPS redirect URIs and local HTTP redirect URIs. Only the app owner, or an org admin for organization apps, can authorize development apps.
          "development"
        • //Production mode only permits secure non-local redirect URIs.
          "production"
        //
      }

Examples

put
/user/oauth2/apps/{client_id}
200 OK
Response