O Auth2 Clients

Create a LaunchDarkly OAuth 2.0 client

POST
/api/v2/oauth/clients

Create (register) a LaunchDarkly OAuth2 client. OAuth2 clients allow you to build custom integrations using LaunchDarkly as your identity provider.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Request Body

application/json

name?string

The name of your new LaunchDarkly OAuth 2.0 client.

redirectUri?string

The redirect URI for your new OAuth 2.0 application. This should be an absolute URL conforming with the standard HTTPS protocol.

description?string

Description of your OAuth 2.0 client.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/oauth/clients" \  -H "Content-Type: application/json" \  -d '{}'
{  "_links": {    "parent": {      "href": "/api/v2/oauth/clients",      "type": "application/json"    },    "self": {      "href": "/api/v2/oauth/clients/50666563-9144-4125-b822-33f308227e45",      "type": "application/json"    }  },  "name": "string",  "description": "string",  "_accountId": "string",  "_clientId": "string",  "_clientSecret": "string",  "redirectUri": "string",  "_creationDate": "1494437420312"}